aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-04-06 02:15:29 +0000
committerYAMAMOTO Mitsuharu2005-04-06 02:15:29 +0000
commit3bc062ea3e0fae88e8010880d45cd5ced8b49f02 (patch)
tree644c2685f52369cf61f13c414ae52127b910ce29
parente183fe27841f16891c8aaa0ce353230f74323826 (diff)
downloademacs-3bc062ea3e0fae88e8010880d45cd5ced8b49f02.tar.gz
emacs-3bc062ea3e0fae88e8010880d45cd5ced8b49f02.zip
Use create-fontset-from-mac-roman-font to create the startup fontset
if a font specification ends with `mac-roman'.
-rw-r--r--lisp/term/mac-win.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index ecfb80ff645..cdf81f02ce2 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -1577,7 +1577,10 @@ ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman")
1577 (new-fontset font (x-complement-fontset-spec xlfd-fields nil)) 1577 (new-fontset font (x-complement-fontset-spec xlfd-fields nil))
1578 ;; Create a fontset from FONT. The fontset name is 1578 ;; Create a fontset from FONT. The fontset name is
1579 ;; generated from FONT. 1579 ;; generated from FONT.
1580 (create-fontset-from-ascii-font font resolved-name "startup")))) 1580 (if (and (string= "mac" (aref xlfd-fields xlfd-regexp-registry-subnum))
1581 (string= "roman" (aref xlfd-fields xlfd-regexp-encoding-subnum)))
1582 (create-fontset-from-mac-roman-font font resolved-name "startup")
1583 (create-fontset-from-ascii-font font resolved-name "startup")))))
1581 1584
1582;; Apply a geometry resource to the initial frame. Put it at the end 1585;; Apply a geometry resource to the initial frame. Put it at the end
1583;; of the alist, so that anything specified on the command line takes 1586;; of the alist, so that anything specified on the command line takes