From 779a69a822aa3c30df037eeb5c535ce24c78267b Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Sat, 2 May 1998 02:06:41 +0000 Subject: [PATCH] (enum_font_cb2): Only ignore raster fonts when determining height and width. --- src/w32fns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/w32fns.c b/src/w32fns.c index bf536f7203d..20833978926 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -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; -- 2.39.5