changeset 96937:7f7286fdbf06

* w32font.c (w32font_open): Set font type to gdi. * w32uniscribe.c (uniscribe_open): Set font type to uniscribe.
author Jason Rumney <jasonr@gnu.org>
date Wed, 23 Jul 2008 15:37:44 +0000
parents 779ab2611e60
children beacc13fd3df
files src/ChangeLog src/w32font.c src/w32uniscribe.c
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Jul 23 14:00:05 2008 +0000
+++ b/src/ChangeLog	Wed Jul 23 15:37:44 2008 +0000
@@ -2,6 +2,9 @@
 
         * w32font.c (w32_enumfont_pattern_entity): Return height consistent
         with opened font.
+        (w32font_open): Set font type to gdi.
+
+        * w32uniscribe.c (uniscribe_open): Set font type to uniscribe.
 
 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
 
--- a/src/w32font.c	Wed Jul 23 14:00:05 2008 +0000
+++ b/src/w32font.c	Wed Jul 23 15:37:44 2008 +0000
@@ -238,6 +238,7 @@
 
   font_object = font_make_object (VECSIZE (struct w32font_info),
 				  font_entity, pixel_size);
+  ASET (font_object, FONT_TYPE_INDEX, Qgdi);
 
   if (!w32font_open_internal (f, font_entity, pixel_size, font_object))
     {
--- a/src/w32uniscribe.c	Wed Jul 23 14:00:05 2008 +0000
+++ b/src/w32uniscribe.c	Wed Jul 23 15:37:44 2008 +0000
@@ -125,6 +125,8 @@
   struct uniscribe_font_info *uniscribe_font
     = (struct uniscribe_font_info *) XFONT_OBJECT (font_object);
 
+  ASET (font_object, FONT_TYPE_INDEX, Quniscribe);
+
   if (!w32font_open_internal (f, font_entity, pixel_size, font_object))
     {
       return Qnil;