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
d089ca67
Commit
d089ca67
authored
Aug 28, 2013
by
Huw Davies
Committed by
Alexandre Julliard
Aug 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Reset ppem to zero if we fail to find a matching height.
parent
bb5aa886
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
freetype.c
dlls/gdi32/freetype.c
+8
-2
No files found.
dlls/gdi32/freetype.c
View file @
d089ca67
...
...
@@ -4580,14 +4580,20 @@ static LONG load_VDMX(GdiFont *font, LONG height)
}
else
{
ppem
=
-
height
;
if
(
ppem
<
startsz
||
ppem
>
endsz
)
goto
end
;
{
ppem
=
0
;
goto
end
;
}
for
(
i
=
0
;
i
<
recs
;
i
++
)
{
USHORT
yPelHeight
;
yPelHeight
=
GET_BE_WORD
(
vTable
[
i
*
3
]);
if
(
yPelHeight
>
ppem
)
break
;
/* failed */
{
ppem
=
0
;
break
;
/* failed */
}
if
(
yPelHeight
==
ppem
)
{
font
->
yMax
=
GET_BE_WORD
(
vTable
[(
i
*
3
)
+
1
]);
...
...
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