[1/3] gdi32: Add dumping of child GDI font cache.

Dmitry Timoshkov dmitry at codeweavers.com
Mon Feb 21 04:20:01 CST 2011


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

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 81c8e46..e0a93f8 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -3880,6 +3880,13 @@ static void dump_gdi_font_list(void)
         TRACE("gdiFont=%p %s %d\n",
               gdiFont, debugstr_w(gdiFont->font_desc.lf.lfFaceName), gdiFont->font_desc.lf.lfHeight);
     }
+
+    TRACE("---------- Child gdiFont Cache ----------\n");
+    LIST_FOR_EACH(elem_ptr, &child_font_list) {
+        gdiFont = LIST_ENTRY(elem_ptr, struct tagGdiFont, entry);
+        TRACE("gdiFont=%p %s %d\n",
+              gdiFont, debugstr_w(gdiFont->font_desc.lf.lfFaceName), gdiFont->font_desc.lf.lfHeight);
+    }
 }
 
 /*************************************************************
-- 
1.7.3.5




More information about the wine-patches mailing list