diff options
| author | Kenichi Handa | 2006-06-06 03:54:18 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-06-06 03:54:18 +0000 |
| commit | 6118a2b8c177b8fd32b50e46d03a8d13e811e586 (patch) | |
| tree | 9ef3f717a3dbafbaab2d6e820b28aa2a4a7c8ccb | |
| parent | 35acfcc3b95a432716afc9596ecb19ae4fa4c5ee (diff) | |
| download | emacs-6118a2b8c177b8fd32b50e46d03a8d13e811e586.tar.gz emacs-6118a2b8c177b8fd32b50e46d03a8d13e811e586.zip | |
(font-encoding-alist): Add koi8-4.
(script-representative-chars): Set the default value.
(create-fontset-from-x-resource): Delete `message'.
| -rw-r--r-- | lisp/international/fontset.el | 44 |
1 files changed, 42 insertions, 2 deletions
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index eb5bbd98c60..5ac54c18b6b 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | ;; Copyright (C) 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003 | 4 | ;; Copyright (C) 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003 |
| 5 | ;; National Institute of Advanced Industrial Science and Technology (AIST) | 5 | ;; National Institute of Advanced Industrial Science and Technology (AIST) |
| 6 | ;; Registration Number H14PRO021 | 6 | ;; Registration Number H14PRO021 |
| 7 | ;; Copyright (C) 2003 | 7 | ;; Copyright (C) 2003, 2006 |
| 8 | ;; National Institute of Advanced Industrial Science and Technology (AIST) | 8 | ;; National Institute of Advanced Industrial Science and Technology (AIST) |
| 9 | ;; Registration Number H13PRO009 | 9 | ;; Registration Number H13PRO009 |
| 10 | 10 | ||
| @@ -74,6 +74,7 @@ | |||
| 74 | ("viscii" . viscii) | 74 | ("viscii" . viscii) |
| 75 | ("tis620" . tis620-2533) | 75 | ("tis620" . tis620-2533) |
| 76 | ("microsoft-cp1251" . windows-1251) | 76 | ("microsoft-cp1251" . windows-1251) |
| 77 | ("koi8-r" . koi8-r) | ||
| 77 | ("mulearabic-0" . arabic-digit) | 78 | ("mulearabic-0" . arabic-digit) |
| 78 | ("mulearabic-1" . arabic-1-column) | 79 | ("mulearabic-1" . arabic-1-column) |
| 79 | ("mulearabic-2" . arabic-2-column) | 80 | ("mulearabic-2" . arabic-2-column) |
| @@ -112,6 +113,46 @@ | |||
| 112 | ("iso10646-1$" . (unicode-bmp . nil)) | 113 | ("iso10646-1$" . (unicode-bmp . nil)) |
| 113 | ("iso10646.indian-1" . (unicode-bmp . nil)))) | 114 | ("iso10646.indian-1" . (unicode-bmp . nil)))) |
| 114 | 115 | ||
| 116 | (setq script-representative-chars | ||
| 117 | '((greek #x3A9) | ||
| 118 | (coptic #x3E2) | ||
| 119 | (cyrillic #x42F) | ||
| 120 | (armenian #x531) | ||
| 121 | (hebrew #x5D0) | ||
| 122 | (arabic #x628) | ||
| 123 | (syriac #x710) | ||
| 124 | (thaana #x78C) | ||
| 125 | (devanagari #x915) | ||
| 126 | (bengali #x995) | ||
| 127 | (gurmukhi #xA15) | ||
| 128 | (gujarati #xA95) | ||
| 129 | (oriya #xB15) | ||
| 130 | (tamil #xB95) | ||
| 131 | (telugu #xC15) | ||
| 132 | (kannada #xC95) | ||
| 133 | (malayalam #xD15) | ||
| 134 | (sinhala #xD95) | ||
| 135 | (thai #xE17) | ||
| 136 | (lao #xEA5) | ||
| 137 | (tibetan #xF40) | ||
| 138 | (myanmar #x1000) | ||
| 139 | (georgian #x10D3) | ||
| 140 | (ethiopic #x1208) | ||
| 141 | (cherokee #x13B6) | ||
| 142 | (canadian-aboriginal #x14C0) | ||
| 143 | (ogham #x168F) | ||
| 144 | (runic #x16A0) | ||
| 145 | (khmer #x1780) | ||
| 146 | (mongolian #x1826) | ||
| 147 | (braille #x2800) | ||
| 148 | (ideographic-description #x2FF0) | ||
| 149 | (cjk-misc #x300E) | ||
| 150 | (kana #x304B) | ||
| 151 | (bopomofo #x3105) | ||
| 152 | (kanbun #x319D) | ||
| 153 | (han #x5B57) | ||
| 154 | (yi #xA288) | ||
| 155 | (hangul #xAC00))) | ||
| 115 | 156 | ||
| 116 | ;; Set standard fontname specification of characters in the default | 157 | ;; Set standard fontname specification of characters in the default |
| 117 | ;; fontset to find an appropriate font for each script/charset. The | 158 | ;; fontset to find an appropriate font for each script/charset. The |
| @@ -747,7 +788,6 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") | |||
| 747 | fontset-spec) | 788 | fontset-spec) |
| 748 | (while (setq fontset-spec (x-get-resource (format "fontset-%d" idx) | 789 | (while (setq fontset-spec (x-get-resource (format "fontset-%d" idx) |
| 749 | (format "Fontset-%d" idx))) | 790 | (format "Fontset-%d" idx))) |
| 750 | (message "%s" fontset-spec) | ||
| 751 | (create-fontset-from-fontset-spec fontset-spec t 'noerror) | 791 | (create-fontset-from-fontset-spec fontset-spec t 'noerror) |
| 752 | (setq idx (1+ idx))))) | 792 | (setq idx (1+ idx))))) |
| 753 | 793 | ||