Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
21b33471
Commit
21b33471
authored
Feb 10, 2008
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Feb 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: For unsigned types, directly use INTERNAL_YDS
parent
316869b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
font.c
dlls/gdi32/font.c
+5
-5
No files found.
dlls/gdi32/font.c
View file @
21b33471
...
...
@@ -1690,16 +1690,16 @@ UINT WINAPI GetOutlineTextMetricsW(
output
->
otmTextMetrics
.
tmOverhang
=
WDPTOLP
(
output
->
otmTextMetrics
.
tmOverhang
);
output
->
otmAscent
=
HDPTOLP
(
output
->
otmAscent
);
output
->
otmDescent
=
HDPTOLP
(
output
->
otmDescent
);
output
->
otmLineGap
=
HDPTOLP
(
output
->
otmLineGap
);
output
->
otmsCapEmHeight
=
HDPTOLP
(
output
->
otmsCapEmHeight
);
output
->
otmsXHeight
=
HDPTOLP
(
output
->
otmsXHeight
);
output
->
otmLineGap
=
abs
(
INTERNAL_YDSTOWS
(
dc
,
output
->
otmLineGap
)
);
output
->
otmsCapEmHeight
=
abs
(
INTERNAL_YDSTOWS
(
dc
,
output
->
otmsCapEmHeight
)
);
output
->
otmsXHeight
=
abs
(
INTERNAL_YDSTOWS
(
dc
,
output
->
otmsXHeight
)
);
output
->
otmrcFontBox
.
top
=
HDPTOLP
(
output
->
otmrcFontBox
.
top
);
output
->
otmrcFontBox
.
bottom
=
HDPTOLP
(
output
->
otmrcFontBox
.
bottom
);
output
->
otmrcFontBox
.
left
=
WDPTOLP
(
output
->
otmrcFontBox
.
left
);
output
->
otmrcFontBox
.
right
=
WDPTOLP
(
output
->
otmrcFontBox
.
right
);
output
->
otmMacAscent
=
HDPTOLP
(
output
->
otmMacAscent
);
output
->
otmMacDescent
=
HDPTOLP
(
output
->
otmMacDescent
);
output
->
otmMacLineGap
=
HDPTOLP
(
output
->
otmMacLineGap
);
output
->
otmMacLineGap
=
abs
(
INTERNAL_YDSTOWS
(
dc
,
output
->
otmMacLineGap
)
);
output
->
otmptSubscriptSize
.
x
=
WDPTOLP
(
output
->
otmptSubscriptSize
.
x
);
output
->
otmptSubscriptSize
.
y
=
HDPTOLP
(
output
->
otmptSubscriptSize
.
y
);
output
->
otmptSubscriptOffset
.
x
=
WDPTOLP
(
output
->
otmptSubscriptOffset
.
x
);
...
...
@@ -1708,7 +1708,7 @@ UINT WINAPI GetOutlineTextMetricsW(
output
->
otmptSuperscriptSize
.
y
=
HDPTOLP
(
output
->
otmptSuperscriptSize
.
y
);
output
->
otmptSuperscriptOffset
.
x
=
WDPTOLP
(
output
->
otmptSuperscriptOffset
.
x
);
output
->
otmptSuperscriptOffset
.
y
=
HDPTOLP
(
output
->
otmptSuperscriptOffset
.
y
);
output
->
otmsStrikeoutSize
=
HDPTOLP
(
output
->
otmsStrikeoutSize
);
output
->
otmsStrikeoutSize
=
abs
(
INTERNAL_YDSTOWS
(
dc
,
output
->
otmsStrikeoutSize
)
);
output
->
otmsStrikeoutPosition
=
HDPTOLP
(
output
->
otmsStrikeoutPosition
);
output
->
otmsUnderscoreSize
=
HDPTOLP
(
output
->
otmsUnderscoreSize
);
output
->
otmsUnderscorePosition
=
HDPTOLP
(
output
->
otmsUnderscorePosition
);
...
...
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