changeset 90546:5fd517758629

(x_create_tip_frame) [USE_FONT_BACKEND]: Handle FontBackend frame parameter. (x_frame_parm_handlers) [USE_FONT_BACKEND]: New element x_set_font_backend.
author Kenichi Handa <handa@m17n.org>
date Wed, 26 Jul 2006 01:15:30 +0000
parents 7536a4fa3a3b
children 51be6e7b3881
files src/xfns.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Wed Jul 26 00:53:14 2006 +0000
+++ b/src/xfns.c	Wed Jul 26 01:15:30 2006 +0000
@@ -3193,6 +3193,9 @@
 #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);
     }
 #endif	/* USE_FONT_BACKEND */
 
@@ -5762,6 +5765,9 @@
   x_set_fringe_width,
   x_set_wait_for_wm,
   x_set_fullscreen,
+#ifdef USE_FONT_BACKEND
+  x_set_font_backend
+#endif	/* USE_FONT_BACKEND */
 };
 
 void