(Fx_create_frame, x_create_tip_frame): Add "fontset-mac" to fallback

font/fontsets.
This commit is contained in:
YAMAMOTO Mitsuharu 2005-04-06 02:24:23 +00:00
parent d440d0de14
commit 3495835063

View file

@ -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))