From f6a09385237ca681010b5510e3786dd1cc538098 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 23 Jun 2014 18:27:16 +0300 Subject: Update various character- and script-related databases per Unicode 7.0. lisp/international/fontset.el (script-representative-chars): Add representative characters for scripts added in Unicode 7.0. (otf-script-alist): Synchronize with the latest registry of OTF script tags. lisp/international/characters.el (char-script-table): Update for scripts added and codepoint ranges changed in Unicode 7.0. --- lisp/international/fontset.el | 75 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 71 insertions(+), 4 deletions(-) (limited to 'lisp/international/fontset.el') diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 8f056a71008..e3f49ce3293 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -199,91 +199,158 @@ (carian #x102A0) (olt-italic #x10300) (ugaritic #x10380) + (old-permic #x10350) (old-persian #x103A0) (deseret #x10400) (shavian #x10450) (osmanya #x10480) + (elbasan #x10500) + (caucasian-albanian #x10530) + (linear-a #x10600) (cypriot-syllabary #x10800) + (palmyrene #x10860) + (nabataean #x10880) (phoenician #x10900) (lydian #x10920) (kharoshthi #x10A00) + (manichaean #x10AC0) + (mahajani #x11150) + (sinhala-archaic-number #x111E1) + (khojki #x11200) + (khudawadi #x112B0) + (grantha #x11305) + (tirhuta #x11481) + (siddham #x11580) + (modi #x11600) + (takri #x11680) + (warang-citi #x118A1) + (pau-cin-hau #x11AC0) (cuneiform #x12000) (cuneiform-numbers-and-punctuation #x12400) + (mro #x16A40) + (bassa-vah #x16AD0) + (pahawh-hmong #x16B11) + (duployan-shorthand #x1BC20) (byzantine-musical-symbol #x1D000) (musical-symbol #x1D100) (ancient-greek-musical-notation #x1D200) (tai-xuan-jing-symbol #x1D300) (counting-rod-numeral #x1D360) + (mende-kikakui #x1E810) (mahjong-tile #x1F000) (domino-tile #x1F030))) (defvar otf-script-alist) +;; The below was synchronized with the latest Jan 3, 2013 version of +;; https://www.microsoft.com/typography/otspec/scripttags.htm. (setq otf-script-alist '((arab . arabic) + (armi . aramaic) (armn . armenian) + (avst . avestan) (bali . balinese) + (bamu . bamum) + (batk . batak) + (bng2 . bengali) (beng . bengali) (bopo . bopomofo) (brai . braille) + (brah . brahmi) (bugi . buginese) (buhd . buhid) (byzm . byzantine-musical-symbol) (cans . canadian-aboriginal) + (cari . carian) + (cakm . chakma) + (cham . cham) (cher . cherokee) (copt . coptic) (xsux . cuneiform) - (cyrl . cyrillic) (cprt . cypriot) + (cyrl . cyrillic) (dsrt . deseret) (deva . devanagari) + (dev2 . devanagari) + (egyp . egyptian) (ethi . ethiopic) (geor . georgian) (glag . glagolitic) (goth . gothic) (grek . greek) (gujr . gujarati) + (gjr2 . gujarati) (guru . gurmukhi) + (gur2 . gurmukhi) (hani . han) (hang . hangul) + (jamo . hangul) (hano . hanunoo) (hebr . hebrew) - (kana . kana) + (phli . inscriptional-pahlavi) + (prti . inscriptional-parthian) + (java . javanese) + (kthi . kaithi) + (kana . kana) ; Hiragana (knda . kannada) + (knd2 . kannada) + (kali . kayah-li) (khar . kharoshthi) (khmr . khmer) (lao\ . lao) (latn . latin) + (lepc . lepcha) (limb . limbu) (linb . linear_b) (mlym . malayalam) + (mlm2 . malayalam) + (mand . mandaic) (math . mathematical) + (mtei . meetei-mayek) + (merc . meroitic) + (mero . meroitic) (mong . mongolian) (musc . musical-symbol) (mymr . burmese) (nko\ . nko) (ogam . ogham) + (olck . ol-chiki) (ital . old_italic) (xpeo . old_persian) + (sarb . old-south-arabian) + (orkh . old-turkic) (orya . oriya) + (ory2 . oriya) (osma . osmanya) (phag . phags-pa) (phnx . phoenician) + (rjng . rejang) (runr . runic) + (samr . samaritan) + (saur . saurashtra) + (shrd . sharada) (shaw . shavian) (sinh . sinhala) + (sora . sora-sompeng) + (sund . sundanese) (sylo . syloti_nagri) (syrc . syriac) (tglg . tagalog) (tagb . tagbanwa) - (taml . tamil) (tale . tai_le) + (talu . tai-lue) + (lana . tai-tham) + (tavt . tai-viet) + (takr . takri) + (taml . tamil) + (tml2 . tamil) (telu . telugu) (thaa . thaana) (thai . thai) (tibt . tibetan) (tfng . tifinagh) (ugar . ugaritic) + (vai\ . vai) (yi\ \ . yi))) ;; Set standard fontname specification of characters in the default @@ -312,7 +379,7 @@ (eval-when-compile -;; Build a data to initialize the default fontset at compile time to +;; Build data to initialize the default fontset at compile time to ;; avoid loading charsets that won't be necessary at runtime. ;; The value is (CJK-REGISTRY-VECTOR TARGET-SPEC ...), where -- cgit v1.2.1