Remove dor on i and j when combining with above diacritics.

* include/grub/unicode.h (GRUB_UNICODE_DOTLESS_LOWERCASE_I): New enum
	value.
	(GRUB_UNICODE_DOTLESS_LOWERCASE_J): Likewise.
	* grub-core/font/font.c (grub_font_construct_dry_run): Replace i and j
	with dotless variants when any combining above is present.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-11 00:20:55 +02:00
parent 5561c22d59
commit 4e5a96b02e
3 changed files with 33 additions and 10 deletions

View file

@ -167,6 +167,8 @@ struct grub_unicode_glyph
enum
{
GRUB_UNICODE_DOTLESS_LOWERCASE_I = 0x0131,
GRUB_UNICODE_DOTLESS_LOWERCASE_J = 0x0237,
GRUB_UNICODE_COMBINING_GRAPHEME_JOINER = 0x034f,
GRUB_UNICODE_HEBREW_WAW = 0x05d5,
GRUB_UNICODE_ARABIC_START = 0x0600,