Commit 4b135503 authored by Jason Rumney's avatar Jason Rumney
Browse files

* w32font.c (w32font_open): Set font type to gdi.

* w32uniscribe.c (uniscribe_open): Set font type to uniscribe.
parent f0492e5f
......@@ -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>
......
......@@ -238,6 +238,7 @@ w32font_open (f, font_entity, pixel_size)
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))
{
......
......@@ -125,6 +125,8 @@ uniscribe_open (f, font_entity, pixel_size)
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment