# HG changeset patch # User Kenichi Handa # Date 1213336062 0 # Node ID dce1d4eb3ebd436a3a518a35383ad4e605473883 # Parent f504cb581d2518143bb882015cd12e922f87379a (Fx_create_frame, x_create_tip_frame): Register X font-driver at first. diff -r f504cb581d25 -r dce1d4eb3ebd src/xfns.c --- a/src/xfns.c Fri Jun 13 04:26:01 2008 +0000 +++ b/src/xfns.c Fri Jun 13 05:47:42 2008 +0000 @@ -3273,6 +3273,7 @@ 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); @@ -3280,7 +3281,6 @@ 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); @@ -4816,6 +4816,7 @@ 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); @@ -4823,7 +4824,6 @@ 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);