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
bb5aa886
Commit
bb5aa886
authored
Aug 28, 2013
by
Huw Davies
Committed by
Alexandre Julliard
Aug 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "gdi32: Do not use VDMX for mapping of negative font heights, based on a test case.".
This reverts commit
7d3cb53c
.
parent
18edb16a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
freetype.c
dlls/gdi32/freetype.c
+19
-0
No files found.
dlls/gdi32/freetype.c
View file @
bb5aa886
...
...
@@ -4577,6 +4577,25 @@ static LONG load_VDMX(GdiFont *font, LONG height)
ppem
=
0
;
TRACE
(
"ppem not found for height %d
\n
"
,
height
);
}
}
else
{
ppem
=
-
height
;
if
(
ppem
<
startsz
||
ppem
>
endsz
)
goto
end
;
for
(
i
=
0
;
i
<
recs
;
i
++
)
{
USHORT
yPelHeight
;
yPelHeight
=
GET_BE_WORD
(
vTable
[
i
*
3
]);
if
(
yPelHeight
>
ppem
)
break
;
/* failed */
if
(
yPelHeight
==
ppem
)
{
font
->
yMax
=
GET_BE_WORD
(
vTable
[(
i
*
3
)
+
1
]);
font
->
yMin
=
GET_BE_WORD
(
vTable
[(
i
*
3
)
+
2
]);
TRACE
(
"ppem %d found; yMax=%d yMin=%d
\n
"
,
ppem
,
font
->
yMax
,
font
->
yMin
);
break
;
}
}
}
end:
HeapFree
(
GetProcessHeap
(),
0
,
vTable
);
...
...
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