diff src/w32fns.c @ 21896:ff66bfc5d801

(enum_font_cb2): Only ignore raster fonts when determining height and width.
author Geoff Voelker <voelker@cs.washington.edu>
date Sat, 02 May 1998 02:06:41 +0000
parents bc4455bca454
children f4099a0f3575
line wrap: on
line diff
--- a/src/w32fns.c	Fri May 01 19:51:43 1998 +0000
+++ b/src/w32fns.c	Sat May 02 02:06:41 1998 +0000
@@ -4808,7 +4808,7 @@
   {
     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;