diff options
| author | YAMAMOTO Mitsuharu | 2005-10-01 11:07:39 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2005-10-01 11:07:39 +0000 |
| commit | 8de786ae2b18953451f304514654f1d4f5cea8e9 (patch) | |
| tree | 1990555ead1b989996d12322014409002b7f9fd5 | |
| parent | c615a00cdaae92bb335275e74c0a7f57cf077322 (diff) | |
| download | emacs-8de786ae2b18953451f304514654f1d4f5cea8e9.tar.gz emacs-8de786ae2b18953451f304514654f1d4f5cea8e9.zip | |
Add charset info for "iso10646-1". Modify default fontset to use
ATSUI-compatible fonts for some charsets if available.
| -rw-r--r-- | lisp/term/mac-win.el | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index 74b691addd7..607a497c0ca 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el | |||
| @@ -1132,6 +1132,7 @@ correspoinding TextEncodingBase value." | |||
| 1132 | (mac-add-charset-info "mac-symbol" 33) | 1132 | (mac-add-charset-info "mac-symbol" 33) |
| 1133 | (mac-add-charset-info "adobe-fontspecific" 33) ; for X-Symbol | 1133 | (mac-add-charset-info "adobe-fontspecific" 33) ; for X-Symbol |
| 1134 | (mac-add-charset-info "mac-dingbats" 34) | 1134 | (mac-add-charset-info "mac-dingbats" 34) |
| 1135 | (mac-add-charset-info "iso10646-1" 126) ; for ATSUI | ||
| 1135 | 1136 | ||
| 1136 | 1137 | ||
| 1137 | ;;;; Keyboard layout/language change events | 1138 | ;;;; Keyboard layout/language change events |
| @@ -1714,9 +1715,21 @@ It returns a name of the created fontset." | |||
| 1714 | 1715 | ||
| 1715 | ;; Setup the default fontset. | 1716 | ;; Setup the default fontset. |
| 1716 | (setup-default-fontset) | 1717 | (setup-default-fontset) |
| 1717 | ;; Add Mac-encoding fonts unless ETL fonts are installed. | 1718 | (cond ((x-list-fonts "*-iso10646-1") |
| 1718 | (unless (x-list-fonts "*-iso8859-1") | 1719 | ;; Use ATSUI (if available) for the following charsets. |
| 1719 | (fontset-add-mac-fonts "fontset-default")) | 1720 | (dolist |
| 1721 | (charset '(latin-iso8859-1 | ||
| 1722 | latin-iso8859-2 latin-iso8859-3 latin-iso8859-4 | ||
| 1723 | thai-tis620 greek-iso8859-7 arabic-iso8859-6 | ||
| 1724 | hebrew-iso8859-8 cyrillic-iso8859-5 | ||
| 1725 | latin-iso8859-9 latin-iso8859-15 latin-iso8859-14 | ||
| 1726 | japanese-jisx0212 chinese-sisheng ipa | ||
| 1727 | vietnamese-viscii-lower vietnamese-viscii-upper | ||
| 1728 | lao ethiopic tibetan)) | ||
| 1729 | (set-fontset-font nil charset '(nil . "iso10646-1")))) | ||
| 1730 | ((null (x-list-fonts "*-iso8859-1")) | ||
| 1731 | ;; Add Mac-encoding fonts unless ETL fonts are installed. | ||
| 1732 | (fontset-add-mac-fonts "fontset-default"))) | ||
| 1720 | 1733 | ||
| 1721 | ;; Create a fontset that uses mac-roman font. With this fontset, | 1734 | ;; Create a fontset that uses mac-roman font. With this fontset, |
| 1722 | ;; characters decoded from mac-roman encoding (ascii, latin-iso8859-1, | 1735 | ;; characters decoded from mac-roman encoding (ascii, latin-iso8859-1, |