gdi32: Print status of the hinting support in the debug log

Dmitry Timoshkov dmitry at codeweavers.com
Thu Jan 11 02:42:06 CST 2007


Hello,

Changelog:
    gdi32: Print status of the hinting support in the debug log.

---
 dlls/gdi32/freetype.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 0e5d7e6..bb58646 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -4435,7 +4435,10 @@ BOOL WINAPI GetRasterizerCaps( LPRASTERIZER_STATUS lprs, UINT cbNumBytes)
     static int hinting = -1;
 
     if(hinting == -1)
+    {
         hinting = is_hinting_enabled();
+        TRACE("hinting is %senabled\n", hinting ? "" : "NOT ");
+    }
 
     lprs->nSize = sizeof(RASTERIZER_STATUS);
     lprs->wFlags = TT_AVAILABLE | TT_ENABLED | (hinting ? WINE_TT_HINTER_ENABLED : 0);
-- 
1.4.4.4






More information about the wine-patches mailing list