changeset 103305:ba9d933971ca

(x_create_tip_frame): Use the uniscribe font backend if available. (Bug#3379)
author Jason Rumney <jasonr@gnu.org>
date Wed, 03 Jun 2009 23:04:51 +0000
parents 2ebd7d8c8506
children 3680b4fe0f79
files src/ChangeLog src/w32fns.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri May 29 01:31:40 2009 +0000
+++ b/src/ChangeLog	Wed Jun 03 23:04:51 2009 +0000
@@ -1,3 +1,8 @@
+2009-06-03  Jason Rumney  <jasonr@gnu.org>
+
+	* w32fns.c (x_create_tip_frame): Use the uniscribe font backend if
+	available.  (Bug#3379)
+
 2009-05-25  David Reitter  <david.reitter@gmail.com>
 
 	* nsterm.m (ns_raise_frame): only raise frame if visible.
--- a/src/w32fns.c	Fri May 29 01:31:40 2009 +0000
+++ b/src/w32fns.c	Wed Jun 03 23:04:51 2009 +0000
@@ -5454,8 +5454,8 @@
   f->resx = dpyinfo->resx;
   f->resy = dpyinfo->resy;
 
-  /* Perhaps, we must allow frame parameter, say `font-backend',
-     to specify which font backends to use.  */
+  if (uniscribe_available)
+    register_font_driver (&uniscribe_font_driver, f);
   register_font_driver (&w32font_driver, f);
 
   x_default_parameter (f, parms, Qfont_backend, Qnil,