Mercurial > emacs
changeset 95877:dce1d4eb3ebd
(Fx_create_frame, x_create_tip_frame): Register X
font-driver at first.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 13 Jun 2008 05:47:42 +0000 |
parents | f504cb581d25 |
children | c6fa05cff006 |
files | src/xfns.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);