Commit 597634cb authored by Jason Rumney's avatar Jason Rumney
Browse files

(w32_enumfont_pattern_entity): Return height consistent with opened font.

parent 0a97ddf0
2008-07-23 Jason Rumney <>
* w32font.c (w32_enumfont_pattern_entity): Return height consistent
with opened font.
2008-07-23 Dan Nicolaescu <>
* s/usg5-4.h (ADDR_CORRECT): Remove, unused.
......@@ -1032,7 +1032,9 @@ w32_enumfont_pattern_entity (frame, logical_font, physical_font,
FONT_SET_STYLE (entity, FONT_WIDTH_INDEX, make_number (100));
if (font_type & RASTER_FONTTYPE)
ASET (entity, FONT_SIZE_INDEX, make_number (physical_font->ntmTm.tmHeight));
make_number (physical_font->ntmTm.tmHeight
+ physical_font->ntmTm.tmExternalLeading));
ASET (entity, FONT_SIZE_INDEX, make_number (0));
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