changeset 102108:ce4d81298570

(Fx_create_frame): Give Xft driver a higher priority.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 19 Feb 2009 03:18:17 +0000
parents 9e073f6663eb
children 66d7dedd5eaf
files src/xfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Thu Feb 19 03:17:59 2009 +0000
+++ b/src/xfns.c	Thu Feb 19 03:18:17 2009 +0000
@@ -3292,7 +3292,6 @@
   f->resx = dpyinfo->resx;
   f->resy = dpyinfo->resy;
 
-  register_font_driver (&xfont_driver, f);
 #ifdef HAVE_FREETYPE
 #ifdef HAVE_XFT
   register_font_driver (&xftfont_driver, f);
@@ -3300,6 +3299,7 @@
   register_font_driver (&ftxfont_driver, f);
 #endif	/* not HAVE_XFT */
 #endif	/* HAVE_FREETYPE */
+  register_font_driver (&xfont_driver, f);
 
   x_default_parameter (f, parms, Qfont_backend, Qnil,
 		       "fontBackend", "FontBackend", RES_TYPE_STRING);