Mercurial > emacs
changeset 90462:5981c99ef5ba
(x_default_font_parameter): Try also "fixed", and signal
error here if no suitable font was found.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 16 Jun 2006 12:14:37 +0000 |
parents | 2457d1153a8b |
children | 1d40cee6b4dc |
files | src/xfns.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Fri Jun 16 12:13:36 2006 +0000 +++ b/src/xfns.c Fri Jun 16 12:14:37 2006 +0000 @@ -2986,6 +2986,7 @@ /* 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 @@ 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); }