From: YAMAMOTO Mitsuharu Date: Wed, 6 Apr 2005 02:24:23 +0000 (+0000) Subject: (Fx_create_frame, x_create_tip_frame): Add "fontset-mac" to fallback X-Git-Tag: ttn-vms-21-2-B4~1181 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34958350635ec3fd8951e914673657e910e3f6ea;p=emacs.git (Fx_create_frame, x_create_tip_frame): Add "fontset-mac" to fallback font/fontsets. --- diff --git a/src/macfns.c b/src/macfns.c index 75994cab150..357f993b0f9 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -2631,6 +2631,8 @@ This function is an internal primitive--use `make-frame' instead. */) if (! STRINGP (font)) font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); /* If those didn't work, look for something which will at least work. */ + if (! STRINGP (font)) + font = x_new_fontset (f, "fontset-mac"); if (! STRINGP (font)) font = x_new_font (f, "-*-monaco-*-12-*-mac-roman"); if (! STRINGP (font)) @@ -3731,6 +3733,8 @@ x_create_tip_frame (dpyinfo, parms, text) if (! STRINGP (font)) font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); /* If those didn't work, look for something which will at least work. */ + if (! STRINGP (font)) + font = x_new_fontset (f, "fontset-mac"); if (! STRINGP (font)) font = x_new_font (f, "-*-monaco-*-12-*-mac-roman"); if (! STRINGP (font))