diff options
| author | Kenichi Handa | 2000-12-04 06:27:35 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-12-04 06:27:35 +0000 |
| commit | 9fff53a32b227ba0ad951b7f5e710f14cf01202f (patch) | |
| tree | 1b527da9d13b7497df12f52b6e22dbd09b5ecf55 | |
| parent | 8ac2d32f186b787ad3ac10fde16f05e3faea0c3e (diff) | |
| download | emacs-9fff53a32b227ba0ad951b7f5e710f14cf01202f.tar.gz emacs-9fff53a32b227ba0ad951b7f5e710f14cf01202f.zip | |
Change the font registries for CJK
fonts in the default fontset. Don't append '*' to registries.
| -rw-r--r-- | lisp/international/fontset.el | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 33b7fb12cf8..25817454486 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el | |||
| @@ -50,9 +50,9 @@ | |||
| 50 | (cyrillic-iso8859-5 . ("*" . "ISO8859-5")) | 50 | (cyrillic-iso8859-5 . ("*" . "ISO8859-5")) |
| 51 | (latin-iso8859-9 . (nil . "ISO8859-9")) | 51 | (latin-iso8859-9 . (nil . "ISO8859-9")) |
| 52 | (japanese-jisx0208-1978 . ("*" . "JISX0208.1978")) | 52 | (japanese-jisx0208-1978 . ("*" . "JISX0208.1978")) |
| 53 | (chinese-gb2312 . ("*" . "GB2312")) | 53 | (chinese-gb2312 . ("*" . "GB2312.1980")) |
| 54 | (japanese-jisx0208 . ("*" . "JISX0208.1983")) | 54 | (japanese-jisx0208 . ("*" . "JISX0208.1990")) |
| 55 | (korean-ksc5601 . ("*" . "KSC5601")) | 55 | (korean-ksc5601 . ("*" . "KSC5601.1989")) |
| 56 | (japanese-jisx0212 . ("*" . "JISX0212")) | 56 | (japanese-jisx0212 . ("*" . "JISX0212")) |
| 57 | (chinese-cns11643-1 . ("*" . "CNS11643.1992-1")) | 57 | (chinese-cns11643-1 . ("*" . "CNS11643.1992-1")) |
| 58 | (chinese-cns11643-2 . ("*" . "CNS11643.1992-2")) | 58 | (chinese-cns11643-2 . ("*" . "CNS11643.1992-2")) |
| @@ -83,14 +83,12 @@ | |||
| 83 | (mule-unicode-0100-24ff . (nil . "ISO10646-1")) | 83 | (mule-unicode-0100-24ff . (nil . "ISO10646-1")) |
| 84 | (mule-unicode-2500-33ff . (nil . "ISO10646-1")) | 84 | (mule-unicode-2500-33ff . (nil . "ISO10646-1")) |
| 85 | (mule-unicode-e000-ffff . (nil . "ISO10646-1")) | 85 | (mule-unicode-e000-ffff . (nil . "ISO10646-1")) |
| 86 | (japanese-jisx0213-1 . ("*" . "JISX0213")) | 86 | (japanese-jisx0213-1 . ("*" . "JISX0213.2000")) |
| 87 | (japanese-jisx0213-2 . ("*" . "JISX0213")) | 87 | (japanese-jisx0213-2 . ("*" . "JISX0213.2000")) |
| 88 | )) | 88 | )) |
| 89 | charset font-spec arg) | 89 | charset font-spec arg) |
| 90 | (while l | 90 | (while l |
| 91 | (setq charset (car (car l)) font-spec (cdr (car l)) l (cdr l)) | 91 | (setq charset (car (car l)) font-spec (cdr (car l)) l (cdr l)) |
| 92 | (or (string-match "-" (cdr font-spec)) | ||
| 93 | (setcdr font-spec (concat (cdr font-spec) "*"))) | ||
| 94 | (if (symbolp charset) | 92 | (if (symbolp charset) |
| 95 | (setq arg (make-char charset)) | 93 | (setq arg (make-char charset)) |
| 96 | (setq arg charset)) | 94 | (setq arg charset)) |