changeset 2738:263aa966f295

* xfns.c (Fx_create_frame): Use an XLFD name for the default font, instead of "9x15" or whatever it was.
author Jim Blandy <jimb@redhat.com>
date Mon, 10 May 1993 23:31:01 +0000
parents 443605a261b3
children 8bb3e2a87cbb
files src/xfns.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Mon May 10 19:20:56 1993 +0000
+++ b/src/xfns.c	Mon May 10 23:31:01 1993 +0000
@@ -1870,7 +1870,12 @@
 
   /* Extract the window parameters from the supplied values
      that are needed to determine window geometry.  */
-  x_default_parameter (f, parms, Qfont, build_string ("9x15"),
+  x_default_parameter (f, parms, Qfont, 
+		       build_string
+		       /* If we use an XLFD name for this font, the lisp code
+			  knows how to find variants which are bold, italic,
+			  etcetera.  */
+		       ("-*-fixed-*-*-*-*-*-120-*-*-c-*-iso8859-1"),
 		       "font", "Font", string);
   x_default_parameter (f, parms, Qborder_width, make_number (2),
 		       "borderwidth", "BorderWidth", number);