From: Eli Zaretskii Date: Mon, 17 Aug 2015 16:58:28 +0000 (+0300) Subject: Improve fontset support for latest OTF script tags X-Git-Tag: emacs-25.0.90~1373^2~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7a64af460b9c64107cebc9a2852efd0e61291d9;p=emacs.git Improve fontset support for latest OTF script tags * lisp/international/fontset.el (otf-script-alist): Add some missing script tags. (setup-default-fontset): Include settings for v2 versions of the script tags used by some modern OTF/TTF fonts. --- diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 98f0170d8ae..4667a003b1d 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -303,6 +303,9 @@ (lepc . lepcha) (limb . limbu) (linb . linear_b) + (lisu . lisu) + (lyci . lycian) + (lydi . lydian) (mlym . malayalam) (mlm2 . malayalam) (mand . mandaic) @@ -312,6 +315,7 @@ (mero . meroitic) (mong . mongolian) (musc . musical-symbol) + (mym2 . burmese) (mymr . burmese) (nko\ . nko) (ogam . ogham) @@ -346,6 +350,7 @@ (taml . tamil) (tml2 . tamil) (telu . telugu) + (tel2 . telugu) (thaa . thaana) (thai . thai) (tibt . tibetan) @@ -471,19 +476,29 @@ (nil . "TIS620*") (nil . "ISO8859-11")) - (devanagari ,(font-spec :registry "iso10646-1" :otf '(deva nil (rphf))) + (devanagari ,(font-spec :registry "iso10646-1" :otf '(dev2 nil (rphf))) + ,(font-spec :registry "iso10646-1" :otf '(deva nil (rphf))) (nil . "iso10646.indian-1")) - (bengali ,(font-spec :registry "iso10646-1" :otf '(beng nil (rphf)))) - (gurmukhi ,(font-spec :registry "iso10646-1" :otf '(guru nil (blwf)))) - (gujarati ,(font-spec :registry "iso10646-1" :otf '(gujr nil (rphf)))) - (oriya ,(font-spec :registry "iso10646-1" :otf '(orya nil (rphf)))) - (tamil ,(font-spec :registry "iso10646-1" :otf '(taml nil (akhn)))) - (telugu ,(font-spec :registry "iso10646-1" :otf '(telu nil (blwf)))) - (kannada ,(font-spec :registry "iso10646-1" :otf '(knda nil (rphf)))) + (bengali ,(font-spec :registry "iso10646-1" :otf '(bng2 nil (rphf))) + ,(font-spec :registry "iso10646-1" :otf '(beng nil (rphf)))) + (gurmukhi ,(font-spec :registry "iso10646-1" :otf '(gur2 nil (blwf))) + ,(font-spec :registry "iso10646-1" :otf '(guru nil (blwf)))) + (gujarati ,(font-spec :registry "iso10646-1" :otf '(gjr2 nil (rphf))) + ,(font-spec :registry "iso10646-1" :otf '(gujr nil (rphf)))) + (oriya ,(font-spec :registry "iso10646-1" :otf '(ory2 nil (rphf))) + ,(font-spec :registry "iso10646-1" :otf '(orya nil (rphf)))) + (tamil ,(font-spec :registry "iso10646-1" :otf '(tml2 nil (akhn))) + ,(font-spec :registry "iso10646-1" :otf '(taml nil (akhn)))) + (telugu ,(font-spec :registry "iso10646-1" :otf '(tel2 nil (blwf))) + ,(font-spec :registry "iso10646-1" :otf '(telu nil (blwf)))) + (kannada ,(font-spec :registry "iso10646-1" :otf '(knd2 nil (rphf))) + ,(font-spec :registry "iso10646-1" :otf '(knda nil (rphf)))) (sinhala ,(font-spec :registry "iso10646-1" :otf '(sinh nil (akhn)))) - (malayalam ,(font-spec :registry "iso10646-1" :otf '(mlym nil (akhn)))) + (malayalam ,(font-spec :registry "iso10646-1" :otf '(mlm2 nil (akhn))) + ,(font-spec :registry "iso10646-1" :otf '(mlym nil (akhn)))) - (burmese ,(font-spec :registry "iso10646-1" :otf '(mymr nil nil)) + (burmese ,(font-spec :registry "iso10646-1" :otf '(mym2 nil nil)) + ,(font-spec :registry "iso10646-1" :otf '(mymr nil nil)) ,(font-spec :registry "iso10646-1" :script 'burmese)) (lao ,(font-spec :registry "iso10646-1" :otf '(lao\ nil nil (mark)))