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
2f20032d
Commit
2f20032d
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: Skip vdmx records with charset == 0.
parent
d089ca67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
freetype.c
dlls/gdi32/freetype.c
+3
-4
No files found.
dlls/gdi32/freetype.c
View file @
2f20032d
...
...
@@ -4512,6 +4512,8 @@ static LONG load_VDMX(GdiFont *font, LONG height)
TRACE
(
"Ratios[%d] %d %d : %d -> %d
\n
"
,
i
,
ratio
.
bCharSet
,
ratio
.
xRatio
,
ratio
.
yStartRatio
,
ratio
.
yEndRatio
);
if
(
!
ratio
.
bCharSet
)
continue
;
if
((
ratio
.
xRatio
==
0
&&
ratio
.
yStartRatio
==
0
&&
ratio
.
yEndRatio
==
0
)
||
...
...
@@ -4526,10 +4528,7 @@ static LONG load_VDMX(GdiFont *font, LONG height)
}
}
if
(
offset
==
-
1
)
{
FIXME
(
"No suitable ratio found
\n
"
);
return
ppem
;
}
if
(
offset
==
-
1
)
return
0
;
if
(
get_font_data
(
font
,
MS_VDMX_TAG
,
offset
,
&
group
,
4
)
!=
GDI_ERROR
)
{
USHORT
recs
;
...
...
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