Commit c8c4bf30 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

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

we should ignore lfWidth.
parent f0baf82b
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment