]> git.eshelyaron.com Git - emacs.git/commitdiff
Correct an old fix for GTK font selection
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Jan 2015 04:42:40 +0000 (20:42 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Jan 2015 04:43:09 +0000 (20:43 -0800)
* gtkutil.c (xg_get_font): Fix off-by-2 typo.
Fixes: bug#3228
src/ChangeLog
src/gtkutil.c

index ad7780fbca7d222a36ccf9a11151463bcd29c57b..b8528c27528521983363ab93fb33e5213a26136b 100644 (file)
@@ -1,5 +1,9 @@
 2015-01-20  Paul Eggert  <eggert@cs.ucla.edu>
 
+       Correct an old fix for GTK font selection
+       * gtkutil.c (xg_get_font): Fix off-by-2 typo.
+       Fixes: bug#3228
+
        Fix minor bugs with printing null bytes
        * minibuf.c (read_minibuf_noninteractive):
        * xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]:
index 694278a2b4c5f5e34087748f57e6f28abd99b4f2..da05742b0c606141fc8f938f83d33551e26b8138 100644 (file)
@@ -2093,7 +2093,7 @@ xg_get_font (struct frame *f, const char *default_name)
          args[8] = QCtype;
          args[9] = Qxft;
 
-         font = Ffont_spec (8, args);
+         font = Ffont_spec (10, args);
 
          pango_font_description_free (desc);
          dupstring (&x_last_font_name, name);