diff options
| author | Steven Tamm | 2004-08-04 06:04:04 +0000 |
|---|---|---|
| committer | Steven Tamm | 2004-08-04 06:04:04 +0000 |
| commit | 66cecdb8bb957ab93b7ece7f22edb5ff04ab19d2 (patch) | |
| tree | fa5bf8d9596b809bee320cfe0d91dd6c6c735ee7 | |
| parent | ac887bc2843e28a189afa7a1f83ca48157a5e750 (diff) | |
| download | emacs-66cecdb8bb957ab93b7ece7f22edb5ff04ab19d2.tar.gz emacs-66cecdb8bb957ab93b7ece7f22edb5ff04ab19d2.zip | |
term/mac-win.el: Use mac-standard-fontset-spec to create
fontset-mac
(mac-standard-fontset-spec): Created
| -rw-r--r-- | lisp/ChangeLog.22 | 10 | ||||
| -rw-r--r-- | lisp/term/mac-win.el | 23 |
2 files changed, 27 insertions, 6 deletions
diff --git a/lisp/ChangeLog.22 b/lisp/ChangeLog.22 index 2e38632e47d..7f43de02a1b 100644 --- a/lisp/ChangeLog.22 +++ b/lisp/ChangeLog.22 | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2004-08-03 Steven Tamm <steventamm@mac.com> | ||
| 2 | |||
| 3 | * term/mac-win.el: Use mac-standard-fontset-spec to create | ||
| 4 | fontset-mac | ||
| 5 | (mac-standard-fontset-spec): Created | ||
| 6 | |||
| 1 | 2004-04-27 Kenichi Handa <handa@m17n.org> | 7 | 2004-04-27 Kenichi Handa <handa@m17n.org> |
| 2 | 8 | ||
| 3 | * international/mule-diag.el (unicode-data): Call | 9 | * international/mule-diag.el (unicode-data): Call |
| @@ -484,7 +490,7 @@ | |||
| 484 | (utf-16-be-with-signature): Comment-out :endian. | 490 | (utf-16-be-with-signature): Comment-out :endian. |
| 485 | 491 | ||
| 486 | * mule-diag.el (describe-character-set): Fix | 492 | * mule-diag.el (describe-character-set): Fix |
| 487 | printing dimensions. Use `$B!_(B', not `x'. | 493 | printing dimensions. Use `,AW(B', not `x'. |
| 488 | 494 | ||
| 489 | 2003-04-12 Kenichi Handa <handa@m17n.org> | 495 | 2003-04-12 Kenichi Handa <handa@m17n.org> |
| 490 | 496 | ||
| @@ -954,7 +960,7 @@ | |||
| 954 | 960 | ||
| 955 | 2002-09-05 Dave Love <fx@gnu.org> | 961 | 2002-09-05 Dave Love <fx@gnu.org> |
| 956 | 962 | ||
| 957 | * international/characters.el: Make $(D*s(B and $(D+s(B a case pair. | 963 | * international/characters.el: Make ,_/(B and ,A(B a case pair. |
| 958 | 964 | ||
| 959 | 2002-09-03 Kenichi Handa <handa@etl.go.jp> | 965 | 2002-09-03 Kenichi Handa <handa@etl.go.jp> |
| 960 | 966 | ||
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index 15e813c53d3..eea8e95ce83 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el | |||
| @@ -186,12 +186,27 @@ Switch to a buffer editing the last file dropped." | |||
| 186 | ;; Create a fontset that uses mac-roman font. With this fontset, | 186 | ;; Create a fontset that uses mac-roman font. With this fontset, |
| 187 | ;; characters decoded from mac-roman encoding (ascii, latin-iso8859-1, | 187 | ;; characters decoded from mac-roman encoding (ascii, latin-iso8859-1, |
| 188 | ;; and mule-unicode-xxxx-yyyy) are displayed by a mac-roman font. | 188 | ;; and mule-unicode-xxxx-yyyy) are displayed by a mac-roman font. |
| 189 | ;; Unnecessary in emacs22 | ||
| 190 | |||
| 191 | ;; Carbon uses different fonts than commonly found on X, so | ||
| 192 | ;; we define our own standard fontset here. | ||
| 193 | (defvar mac-standard-fontset-spec | ||
| 194 | "-apple-Monaco-normal-r-*-*-12-*-*-*-*-*-fontset-mac" | ||
| 195 | "String of fontset spec of the standard fontset. | ||
| 196 | This defines a fontset consisting of the Monaco variations for | ||
| 197 | European languages which are distributed with Mac OS X. | ||
| 198 | |||
| 199 | See the documentation of `create-fontset-from-fontset-spec for the format.") | ||
| 200 | |||
| 189 | 201 | ||
| 190 | (if (fboundp 'new-fontset) | 202 | (if (fboundp 'new-fontset) |
| 191 | (create-fontset-from-fontset-spec | 203 | (progn |
| 192 | "-etl-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-mac, | 204 | (require 'fontset) |
| 193 | ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman | 205 | ;; Setup the default fontset. |
| 194 | mac-roman:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman")) | 206 | (setup-default-fontset) |
| 207 | ;; Create the standard fontset. | ||
| 208 | (create-fontset-from-fontset-spec mac-standard-fontset-spec t) | ||
| 209 | )) | ||
| 195 | 210 | ||
| 196 | 211 | ||
| 197 | (if (eq system-type 'darwin) | 212 | (if (eq system-type 'darwin) |