gdiplus: Accept wider range of fonts.

This commit is contained in:
Dmitry Timoshkov 2012-06-14 14:12:40 +09:00 committed by Alexandre Julliard
parent b5ef70c583
commit ac38e69a92
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont *font, REAL dpi,
static INT CALLBACK is_font_installed_proc(const LOGFONTW *elf,
const TEXTMETRICW *ntm, DWORD type, LPARAM lParam)
{
if (type != TRUETYPE_FONTTYPE)
if (type & RASTER_FONTTYPE)
return 1;
*(LOGFONTW *)lParam = *elf;