gdiplus: Accept wider range of fonts.
Dmitry Timoshkov
dmitry at baikal.ru
Thu Jun 14 00:12:40 CDT 2012
This should fix the cases when opentype fonts were ignored.
---
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 51733f4..f4b75ef 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;
--
1.7.10.1
More information about the wine-patches
mailing list