comparison src/w32uniscribe.c @ 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 9ee160a11a03
children 1b8d15c8653f
comparison
equal deleted inserted replaced
96936:779ab2611e60 96937:7f7286fdbf06
122 Lisp_Object font_object 122 Lisp_Object font_object
123 = font_make_object (VECSIZE (struct uniscribe_font_info), 123 = font_make_object (VECSIZE (struct uniscribe_font_info),
124 font_entity, pixel_size); 124 font_entity, pixel_size);
125 struct uniscribe_font_info *uniscribe_font 125 struct uniscribe_font_info *uniscribe_font
126 = (struct uniscribe_font_info *) XFONT_OBJECT (font_object); 126 = (struct uniscribe_font_info *) XFONT_OBJECT (font_object);
127
128 ASET (font_object, FONT_TYPE_INDEX, Quniscribe);
127 129
128 if (!w32font_open_internal (f, font_entity, pixel_size, font_object)) 130 if (!w32font_open_internal (f, font_entity, pixel_size, font_object))
129 { 131 {
130 return Qnil; 132 return Qnil;
131 } 133 }