From: Kenichi Handa Date: Fri, 13 Jun 2008 05:47:42 +0000 (+0000) Subject: (Fx_create_frame, x_create_tip_frame): Register X X-Git-Tag: emacs-pretest-23.0.90~4830 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf970f2bd118e7c2d5d478acf90d8df23521433d;p=emacs.git (Fx_create_frame, x_create_tip_frame): Register X font-driver at first. --- diff --git a/src/xfns.c b/src/xfns.c index 2dbbe80e097..b02c9ce8d25 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -3273,6 +3273,7 @@ This function is an internal primitive--use `make-frame' instead. */) 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 @@ This function is an internal primitive--use `make-frame' instead. */) 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 @@ x_create_tip_frame (dpyinfo, parms, text) 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 @@ x_create_tip_frame (dpyinfo, parms, text) 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);