From 174f1c745dcabc9dbd2650b04eccce74ebfe8928 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Wed, 10 Dec 2008 15:37:46 +0000 Subject: [PATCH] (Qcham): New symbol. (font_supported_scripts): Add cham, and comments for other new scripts in bitfield from OpenType spec. --- src/ChangeLog | 6 ++++++ src/w32font.c | 15 ++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index b6f7178e5fa..5b611cdbbe7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2008-12-10 Jason Rumney + + * w32font.c (Qcham): New symbol. + (font_supported_scripts): Add cham, and comments for other new + scripts in bitfield from OpenType spec. + 2008-12-10 Kenichi Handa * ftfont.c (fc_charset_table): Add "unicode-sip". diff --git a/src/w32font.c b/src/w32font.c index 9609605306f..2a4dcb4ac5c 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -79,15 +79,13 @@ static Lisp_Object Qcherokee, Qcanadian_aboriginal, Qogham, Qrunic; static Lisp_Object Qkhmer, Qmongolian, Qsymbol, Qbraille, Qhan; static Lisp_Object Qideographic_description, Qcjk_misc, Qkana, Qbopomofo; static Lisp_Object Qkanbun, Qyi, Qbyzantine_musical_symbol; -static Lisp_Object Qmusical_symbol, Qmathematical; +static Lisp_Object Qmusical_symbol, Qmathematical, Qcham, Qphonetic; /* Not defined in characters.el, but referenced in fontset.el. */ static Lisp_Object Qbalinese, Qbuginese, Qbuhid, Qcuneiform, Qcypriot; static Lisp_Object Qdeseret, Qglagolitic, Qgothic, Qhanunoo, Qkharoshthi; static Lisp_Object Qlimbu, Qlinear_b, Qold_italic, Qold_persian, Qosmanya; static Lisp_Object Qphags_pa, Qphoenician, Qshavian, Qsyloti_nagri; static Lisp_Object Qtagalog, Qtagbanwa, Qtai_le, Qtifinagh, Qugaritic; -/* Only defined here, but useful for distinguishing IPA capable fonts. */ -static Lisp_Object Qphonetic; /* W32 charsets: for use in Vw32_charset_info_alist. */ static Lisp_Object Qw32_charset_ansi, Qw32_charset_default; @@ -2074,6 +2072,7 @@ font_supported_scripts (FONTSIGNATURE * sig) SUBRANGE (9, Qcyrillic); SUBRANGE (10, Qarmenian); SUBRANGE (11, Qhebrew); + /* 12: Vai. */ SUBRANGE (13, Qarabic); SUBRANGE (14, Qnko); SUBRANGE (15, Qdevanagari); @@ -2153,13 +2152,18 @@ font_supported_scripts (FONTSIGNATURE * sig) SUBRANGE (108, Qkharoshthi); /* 109: Tai Xuan Jing. */ SUBRANGE (110, Qcuneiform); - /* 111: Counting Rods. */ + /* 111: Counting Rods, 112: Sundanese, 113: Lepcha, 114: Ol Chiki. */ + /* 115: Saurashtra, 116: Kayah Li, 117: Rejang. */ + SUBRANGE (118, Qcham); + /* 119: Ancient symbols, 120: Phaistos Disc. */ + /* 121: Carian, Lycian, Lydian, 122: Dominos, Mah Jong tiles. */ + /* 123-127: Reserved. */ /* There isn't really a main symbol range, so include symbol if any relevant range is set. */ MASK_ANY (0x8000000, 0x0000FFFF, 0, 0, Qsymbol); - /* Missing: Tai Viet (U+AA80) and Cham (U+AA00) . */ + /* Missing: Tai Viet (U+AA80-U+AADF). */ #undef SUBRANGE #undef MASK_ANY @@ -2499,6 +2503,7 @@ syms_of_w32font () DEFSYM (Qbyzantine_musical_symbol, "byzantine-musical-symbol"); DEFSYM (Qmusical_symbol, "musical-symbol"); DEFSYM (Qmathematical, "mathematical"); + DEFSYM (Qcham, "cham"); DEFSYM (Qphonetic, "phonetic"); DEFSYM (Qbalinese, "balinese"); DEFSYM (Qbuginese, "buginese"); -- 2.39.5