Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
2d8fb9ad
Commit
2d8fb9ad
authored
Dec 18, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Dec 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add traces for values of newly-created font objects.
parent
d5fffdd0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
font.c
dlls/gdiplus/font.c
+11
-0
No files found.
dlls/gdiplus/font.c
View file @
2d8fb9ad
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment