Mercurial > emacs
changeset 91358:65fc7a40f435
(script-representative-chars): Add cham
and tai-viet.
(setup-default-fontset): Add iso10646-1 font for latin and ipa.
Add fontconfig spec for cjk-misc. Explicitly specify font font
for U+E000..U+F8FF.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 28 Jan 2008 07:11:18 +0000 |
parents | c8cd29958bb5 |
children | 259402c3ba6a |
files | lisp/international/fontset.el |
diffstat | 1 files changed, 12 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/international/fontset.el Mon Jan 28 07:07:44 2008 +0000 +++ b/lisp/international/fontset.el Mon Jan 28 07:11:18 2008 +0000 @@ -181,6 +181,8 @@ (kanbun #x319D) (han #x5B57) (yi #xA288) + (cham #xAA00) + (tai-viet #xAA80) (hangul #xAC00))) (setq otf-script-alist @@ -285,7 +287,8 @@ (nil . "ISO8859-14") (nil . "ISO8859-15") (nil . "ISO8859-16") - (nil . "VISCII1.1-1")) + (nil . "VISCII1.1-1") + (nil . "ISO10646-1")) (thai ,(font-spec :registry "iso10646-1" :otf '(thai nil nil (mark))) (nil . "TIS620*") @@ -387,7 +390,9 @@ (nil . "JISX0213.2000-2") (nil . "JISX0213.2004-1")) - (cjk-misc (nil . "GB2312.1980-0") + (cjk-misc ,(font-spec :registry "iso10646-1" :language 'ja) + ,(font-spec :registry "iso10646-1" :language 'zh) + (nil . "GB2312.1980-0") (nil . "JISX0208*") (nil . "JISX0212*") (nil . "big5*") @@ -438,7 +443,8 @@ (malayalam-akruti (nil . "Malayalam-Akruti")) ;;(devanagari-glyph ("altsys-dv_ttsurekh" . "devanagari-cdac")) ;;(malayalam-glyph ("altsys-ml_ttkarthika" . "malayalam-cdac")) - (ipa (nil . "MuleIPA-1")) + (ipa (nil . "MuleIPA-1") + (nil . "iso10646-1")) ;; Fallback fonts (nil (nil . "gb2312.1980") @@ -469,7 +475,9 @@ (set-fontset-font "fontset-default" nil '("gnu-unifont" . "iso10646-1") nil 'append) (set-fontset-font "fontset-default" nil - '("mutt-clearlyu" . "iso10646-1") nil 'append)) + '("mutt-clearlyu" . "iso10646-1") nil 'append) + + (set-fontset-font "fontset-default" '(#xE000 . #xF8FF) nil)) ;; These are the registered registries/encodings from ;; ftp://ftp.x.org/pub/DOCS/registry 2001/06/01