Dmitry Timoshkov : gdi32: Add dumping of child GDI font cache.

Alexandre Julliard julliard at winehq.org
Mon Feb 21 10:56:58 CST 2011


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

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Mon Feb 21 18:20:01 2011 +0800

gdi32: Add dumping of child GDI font cache.

---

 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);
+    }
 }
 
 /*************************************************************




More information about the wine-cvs mailing list