From ac38e69a92a443759cc8fb3291c50dce3bc5a83c Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 14 Jun 2012 14:12:40 +0900 Subject: [PATCH] gdiplus: Accept wider range of fonts. --- dlls/gdiplus/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index 51733f4360d..f4b75ef41ec 100644 --- a/dlls/gdiplus/font.c +++ b/dlls/gdiplus/font.c @@ -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; -- 2.11.4.GIT