From: Kenichi Handa Date: Fri, 20 Jun 2008 02:15:52 +0000 (+0000) Subject: (x_default_font_parameter): Try "monospace-12" too. X-Git-Tag: emacs-pretest-23.0.90~4663 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d7afccca702a28656bf1e2a183f966b4411b5867;p=emacs.git (x_default_font_parameter): Try "monospace-12" too. --- diff --git a/src/ChangeLog b/src/ChangeLog index 43f9f1f2154..4408c59cf37 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-06-20 Kenichi Handa + + * xfns.c (x_default_font_parameter): Try "monospace-12" too. + 2008-06-20 Stefan Monnier * w32fns.c, xfnc.c (x_default_font_parameter): Only set `font-param' diff --git a/src/xfns.c b/src/xfns.c index 0d31f015b82..2bf4afa392c 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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. */