]> git.eshelyaron.com Git - emacs.git/commitdiff
(enum_font_cb2): Only ignore raster fonts when
authorGeoff Voelker <voelker@cs.washington.edu>
Sat, 2 May 1998 02:06:41 +0000 (02:06 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Sat, 2 May 1998 02:06:41 +0000 (02:06 +0000)
determining height and width.

src/w32fns.c

index bf536f7203da6c96196421cc502bd076199ce40f..20833978926484a8e31ec7a43ff2279ec329f914 100644 (file)
@@ -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;