From 25c252565874a9578b4d143d79bc3ec63321ef8a Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 16 Jun 2006 12:14:37 +0000 Subject: [PATCH] (x_default_font_parameter): Try also "fixed", and signal error here if no suitable font was found. --- src/xfns.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xfns.c b/src/xfns.c index b4d16615fb0..5924ba21f88 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -2986,6 +2986,7 @@ x_default_font_parameter (f, parms) /* If those didn't work, look for something which will at least work. */ "-*-fixed-*-*-*-*-*-140-*-*-c-*-iso8859-1", + "fixed", NULL }; int i; @@ -2996,7 +2997,7 @@ x_default_font_parameter (f, parms) break; } if (NILP (font)) - font = build_string ("fixed"); + error ("No suitable font was found"); } x_default_parameter (f, parms, Qfont, font, "font", "Font", RES_TYPE_STRING); } -- 2.39.5