We don't currently support horizontal stretching of bitmap fonts, so

we should ignore lfWidth.
This commit is contained in:
Huw Davies 2004-08-10 23:42:18 +00:00 committed by Alexandre Julliard
parent f0baf82b36
commit c8c4bf30fb
1 changed files with 2 additions and 1 deletions

View File

@ -1821,7 +1821,8 @@ GdiFont WineEngCreateFontInstance(DC *dc, HFONT hfont)
ret->strikeout = lf.lfStrikeOut ? 0xff : 0;
TRACE("caching: gdiFont=%p hfont=%p\n", ret, hfont);
ret->aveWidth= lf.lfWidth;
ret->aveWidth = FT_IS_SCALABLE(ret->ft_face) ? lf.lfWidth : 0;
list_add_head(&gdi_font_list, &ret->entry);
return ret;
}