diff options
| author | Jason Rumney | 2008-12-10 15:37:46 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-12-10 15:37:46 +0000 |
| commit | 174f1c745dcabc9dbd2650b04eccce74ebfe8928 (patch) | |
| tree | 02083be694c7286f3897a4648e3ca94f28ba574a /src | |
| parent | 45ce4570744ae5934954f695756b0870af57bfa8 (diff) | |
| download | emacs-174f1c745dcabc9dbd2650b04eccce74ebfe8928.tar.gz emacs-174f1c745dcabc9dbd2650b04eccce74ebfe8928.zip | |
(Qcham): New symbol.
(font_supported_scripts): Add cham, and comments for other new
scripts in bitfield from OpenType spec.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2008-12-10 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * w32font.c (Qcham): New symbol. | ||
| 4 | (font_supported_scripts): Add cham, and comments for other new | ||
| 5 | scripts in bitfield from OpenType spec. | ||
| 6 | |||
| 1 | 2008-12-10 Kenichi Handa <handa@m17n.org> | 7 | 2008-12-10 Kenichi Handa <handa@m17n.org> |
| 2 | 8 | ||
| 3 | * ftfont.c (fc_charset_table): Add "unicode-sip". | 9 | * 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; | |||
| 79 | static Lisp_Object Qkhmer, Qmongolian, Qsymbol, Qbraille, Qhan; | 79 | static Lisp_Object Qkhmer, Qmongolian, Qsymbol, Qbraille, Qhan; |
| 80 | static Lisp_Object Qideographic_description, Qcjk_misc, Qkana, Qbopomofo; | 80 | static Lisp_Object Qideographic_description, Qcjk_misc, Qkana, Qbopomofo; |
| 81 | static Lisp_Object Qkanbun, Qyi, Qbyzantine_musical_symbol; | 81 | static Lisp_Object Qkanbun, Qyi, Qbyzantine_musical_symbol; |
| 82 | static Lisp_Object Qmusical_symbol, Qmathematical; | 82 | static Lisp_Object Qmusical_symbol, Qmathematical, Qcham, Qphonetic; |
| 83 | /* Not defined in characters.el, but referenced in fontset.el. */ | 83 | /* Not defined in characters.el, but referenced in fontset.el. */ |
| 84 | static Lisp_Object Qbalinese, Qbuginese, Qbuhid, Qcuneiform, Qcypriot; | 84 | static Lisp_Object Qbalinese, Qbuginese, Qbuhid, Qcuneiform, Qcypriot; |
| 85 | static Lisp_Object Qdeseret, Qglagolitic, Qgothic, Qhanunoo, Qkharoshthi; | 85 | static Lisp_Object Qdeseret, Qglagolitic, Qgothic, Qhanunoo, Qkharoshthi; |
| 86 | static Lisp_Object Qlimbu, Qlinear_b, Qold_italic, Qold_persian, Qosmanya; | 86 | static Lisp_Object Qlimbu, Qlinear_b, Qold_italic, Qold_persian, Qosmanya; |
| 87 | static Lisp_Object Qphags_pa, Qphoenician, Qshavian, Qsyloti_nagri; | 87 | static Lisp_Object Qphags_pa, Qphoenician, Qshavian, Qsyloti_nagri; |
| 88 | static Lisp_Object Qtagalog, Qtagbanwa, Qtai_le, Qtifinagh, Qugaritic; | 88 | static Lisp_Object Qtagalog, Qtagbanwa, Qtai_le, Qtifinagh, Qugaritic; |
| 89 | /* Only defined here, but useful for distinguishing IPA capable fonts. */ | ||
| 90 | static Lisp_Object Qphonetic; | ||
| 91 | 89 | ||
| 92 | /* W32 charsets: for use in Vw32_charset_info_alist. */ | 90 | /* W32 charsets: for use in Vw32_charset_info_alist. */ |
| 93 | static Lisp_Object Qw32_charset_ansi, Qw32_charset_default; | 91 | static Lisp_Object Qw32_charset_ansi, Qw32_charset_default; |
| @@ -2074,6 +2072,7 @@ font_supported_scripts (FONTSIGNATURE * sig) | |||
| 2074 | SUBRANGE (9, Qcyrillic); | 2072 | SUBRANGE (9, Qcyrillic); |
| 2075 | SUBRANGE (10, Qarmenian); | 2073 | SUBRANGE (10, Qarmenian); |
| 2076 | SUBRANGE (11, Qhebrew); | 2074 | SUBRANGE (11, Qhebrew); |
| 2075 | /* 12: Vai. */ | ||
| 2077 | SUBRANGE (13, Qarabic); | 2076 | SUBRANGE (13, Qarabic); |
| 2078 | SUBRANGE (14, Qnko); | 2077 | SUBRANGE (14, Qnko); |
| 2079 | SUBRANGE (15, Qdevanagari); | 2078 | SUBRANGE (15, Qdevanagari); |
| @@ -2153,13 +2152,18 @@ font_supported_scripts (FONTSIGNATURE * sig) | |||
| 2153 | SUBRANGE (108, Qkharoshthi); | 2152 | SUBRANGE (108, Qkharoshthi); |
| 2154 | /* 109: Tai Xuan Jing. */ | 2153 | /* 109: Tai Xuan Jing. */ |
| 2155 | SUBRANGE (110, Qcuneiform); | 2154 | SUBRANGE (110, Qcuneiform); |
| 2156 | /* 111: Counting Rods. */ | 2155 | /* 111: Counting Rods, 112: Sundanese, 113: Lepcha, 114: Ol Chiki. */ |
| 2156 | /* 115: Saurashtra, 116: Kayah Li, 117: Rejang. */ | ||
| 2157 | SUBRANGE (118, Qcham); | ||
| 2158 | /* 119: Ancient symbols, 120: Phaistos Disc. */ | ||
| 2159 | /* 121: Carian, Lycian, Lydian, 122: Dominos, Mah Jong tiles. */ | ||
| 2160 | /* 123-127: Reserved. */ | ||
| 2157 | 2161 | ||
| 2158 | /* There isn't really a main symbol range, so include symbol if any | 2162 | /* There isn't really a main symbol range, so include symbol if any |
| 2159 | relevant range is set. */ | 2163 | relevant range is set. */ |
| 2160 | MASK_ANY (0x8000000, 0x0000FFFF, 0, 0, Qsymbol); | 2164 | MASK_ANY (0x8000000, 0x0000FFFF, 0, 0, Qsymbol); |
| 2161 | 2165 | ||
| 2162 | /* Missing: Tai Viet (U+AA80) and Cham (U+AA00) . */ | 2166 | /* Missing: Tai Viet (U+AA80-U+AADF). */ |
| 2163 | #undef SUBRANGE | 2167 | #undef SUBRANGE |
| 2164 | #undef MASK_ANY | 2168 | #undef MASK_ANY |
| 2165 | 2169 | ||
| @@ -2499,6 +2503,7 @@ syms_of_w32font () | |||
| 2499 | DEFSYM (Qbyzantine_musical_symbol, "byzantine-musical-symbol"); | 2503 | DEFSYM (Qbyzantine_musical_symbol, "byzantine-musical-symbol"); |
| 2500 | DEFSYM (Qmusical_symbol, "musical-symbol"); | 2504 | DEFSYM (Qmusical_symbol, "musical-symbol"); |
| 2501 | DEFSYM (Qmathematical, "mathematical"); | 2505 | DEFSYM (Qmathematical, "mathematical"); |
| 2506 | DEFSYM (Qcham, "cham"); | ||
| 2502 | DEFSYM (Qphonetic, "phonetic"); | 2507 | DEFSYM (Qphonetic, "phonetic"); |
| 2503 | DEFSYM (Qbalinese, "balinese"); | 2508 | DEFSYM (Qbalinese, "balinese"); |
| 2504 | DEFSYM (Qbuginese, "buginese"); | 2509 | DEFSYM (Qbuginese, "buginese"); |