comparison 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
comparison
equal deleted inserted replaced
21895:b8ebd3d021a4 21896:ff66bfc5d801
4806 4806
4807 /* if (!lpef->size_ref || lptm->tmMaxCharWidth == FONT_WIDTH (lpef->size_ref)) */ 4807 /* if (!lpef->size_ref || lptm->tmMaxCharWidth == FONT_WIDTH (lpef->size_ref)) */
4808 { 4808 {
4809 char buf[100]; 4809 char buf[100];
4810 4810
4811 if (!NILP (*(lpef->pattern)) && FontType == TRUETYPE_FONTTYPE) 4811 if (!NILP (*(lpef->pattern)) && FontType != RASTER_FONTTYPE)
4812 { 4812 {
4813 lplf->elfLogFont.lfHeight = lpef->logfont.lfHeight; 4813 lplf->elfLogFont.lfHeight = lpef->logfont.lfHeight;
4814 lplf->elfLogFont.lfWidth = lpef->logfont.lfWidth; 4814 lplf->elfLogFont.lfWidth = lpef->logfont.lfWidth;
4815 } 4815 }
4816 4816