Dmitry Timoshkov : gdiplus: Accept wider range of fonts.

Alexandre Julliard julliard at winehq.org
Thu Jun 14 15:31:31 CDT 2012


Module: wine
Branch: master
Commit: ac38e69a92a443759cc8fb3291c50dce3bc5a83c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ac38e69a92a443759cc8fb3291c50dce3bc5a83c

Author: Dmitry Timoshkov <dmitry at 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;




More information about the wine-cvs mailing list