Module: wine Branch: master Commit: 2d8fb9ade3a766290cb8e797af69a272e5976554 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2d8fb9ade3a766290cb8e797af...
Author: Vincent Povirk vincent@codeweavers.com Date: Fri Dec 18 15:04:56 2009 -0600
gdiplus: Add traces for values of newly-created font objects.
---
dlls/gdiplus/font.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index 89498bc..fda5428 100644 --- a/dlls/gdiplus/font.c +++ b/dlls/gdiplus/font.c @@ -158,6 +158,8 @@ GpStatus WINGDIPAPI GdipCreateFont(GDIPCONST GpFontFamily *fontFamily, (*font)->height = tmw->ntmSizeEM; (*font)->line_spacing = tmw->tmAscent + tmw->tmDescent + tmw->tmExternalLeading;
+ TRACE("<-- %p\n", *font); + return Ok; }
@@ -205,6 +207,8 @@ GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC hdc, SelectObject(hdc, oldfont); DeleteObject(hfont);
+ TRACE("<-- %p\n", *font); + return Ok; }
@@ -583,6 +587,8 @@ GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(GDIPCONST WCHAR *name,
*FontFamily = ffamily;
+ TRACE("<-- %p\n", ffamily); + return Ok; }
@@ -611,6 +617,8 @@ GpStatus WINGDIPAPI GdipCloneFontFamily(GpFontFamily* FontFamily, GpFontFamily** (*clonedFontFamily)->tmw = FontFamily->tmw; lstrcpyW((*clonedFontFamily)->FamilyName, FontFamily->FamilyName);
+ TRACE("<-- %p\n", *clonedFontFamily); + return Ok; }
@@ -845,6 +853,9 @@ GpStatus WINGDIPAPI GdipNewPrivateFontCollection(GpFontCollection** fontCollecti (*fontCollection)->FontFamilies = NULL; (*fontCollection)->count = 0; (*fontCollection)->allocated = 0; + + TRACE("<-- %p\n", *fontCollection); + return Ok; }