Module: wine Branch: master Commit: ac38e69a92a443759cc8fb3291c50dce3bc5a83c URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac38e69a92a443759cc8fb3291...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Thu Jun 14 14:12:40 2012 +0900
gdiplus: Accept wider range of fonts.
---
dlls/gdiplus/font.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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;