aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-05-10 23:31:01 +0000
committerJim Blandy1993-05-10 23:31:01 +0000
commitee8f40ccfc506e0b534f30b71666949906d77d94 (patch)
tree4a01bbc52c531aab826a9006975196f8ff3bb0e3 /src
parent0ca2af7c0b4c9edfaaed391d9bf34cb7ed148a1b (diff)
downloademacs-ee8f40ccfc506e0b534f30b71666949906d77d94.tar.gz
emacs-ee8f40ccfc506e0b534f30b71666949906d77d94.zip
* xfns.c (Fx_create_frame): Use an XLFD name for the default font,
instead of "9x15" or whatever it was.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index a02e20de419..0ace204ec66 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1870,7 +1870,12 @@ be shared by the new frame.")
1870 1870
1871 /* Extract the window parameters from the supplied values 1871 /* Extract the window parameters from the supplied values
1872 that are needed to determine window geometry. */ 1872 that are needed to determine window geometry. */
1873 x_default_parameter (f, parms, Qfont, build_string ("9x15"), 1873 x_default_parameter (f, parms, Qfont,
1874 build_string
1875 /* If we use an XLFD name for this font, the lisp code
1876 knows how to find variants which are bold, italic,
1877 etcetera. */
1878 ("-*-fixed-*-*-*-*-*-120-*-*-c-*-iso8859-1"),
1874 "font", "Font", string); 1879 "font", "Font", string);
1875 x_default_parameter (f, parms, Qborder_width, make_number (2), 1880 x_default_parameter (f, parms, Qborder_width, make_number (2),
1876 "borderwidth", "BorderWidth", number); 1881 "borderwidth", "BorderWidth", number);