(x_default_font_parameter): Try "monospace-12" too.
authorKenichi Handa <handa@m17n.org>
Fri, 20 Jun 2008 02:15:52 +0000 (02:15 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 20 Jun 2008 02:15:52 +0000 (02:15 +0000)
src/ChangeLog
src/xfns.c

index 43f9f1f..4408c59 100644 (file)
@@ -1,3 +1,7 @@
+2008-06-20  Kenichi Handa  <handa@m17n.org>
+
+       * xfns.c (x_default_font_parameter): Try "monospace-12" too.
+
 2008-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * w32fns.c, xfnc.c (x_default_font_parameter): Only set `font-param'
index 0d31f01..2bf4afa 100644 (file)
@@ -3073,6 +3073,8 @@ x_default_font_parameter (f, parms)
       char *names[]
        = { "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1",
            "-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-1",
+           /* This will find the normal Xft font.  */
+           "monospace-12",
            "-*-*-medium-r-normal-*-*-140-*-*-c-*-iso8859-1",
            /* This was formerly the first thing tried, but it finds
               too many fonts and takes too long.  */