Commit 779a69a8 authored by Geoff Voelker's avatar Geoff Voelker
Browse files

(enum_font_cb2): Only ignore raster fonts when

determining height and width.
parent e1bd3c8d
......@@ -4808,7 +4808,7 @@ enum_font_cb2 (lplf, lptm, FontType, lpef)
{
char buf[100];
if (!NILP (*(lpef->pattern)) && FontType == TRUETYPE_FONTTYPE)
if (!NILP (*(lpef->pattern)) && FontType != RASTER_FONTTYPE)
{
lplf->elfLogFont.lfHeight = lpef->logfont.lfHeight;
lplf->elfLogFont.lfWidth = lpef->logfont.lfWidth;
......
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