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
92a74a82
Commit
92a74a82
authored
Jan 09, 2008
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Fix the regression caused by the scaling font metrics patch.
parent
d1796650
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
freetype.c
dlls/gdi32/freetype.c
+5
-3
No files found.
dlls/gdi32/freetype.c
View file @
92a74a82
...
...
@@ -3125,13 +3125,15 @@ found:
TRACE
(
"Chosen: %s %s (%s/%p:%ld)
\n
"
,
debugstr_w
(
family
->
FamilyName
),
debugstr_w
(
face
->
StyleName
),
face
->
file
,
face
->
font_data_ptr
,
face
->
face_index
);
ret
->
ppem
=
height
;
ret
->
aveWidth
=
abs
(
lf
.
lfWidth
);
ret
->
scale_x
=
0
.
0
;
ret
->
scale_y
=
0
.
0
;
ret
->
aveWidth
=
abs
(
lf
.
lfWidth
);
if
(
!
face
->
scalable
)
{
ret
->
ppem
=
face
->
size
.
height
;
if
(
height
!=
0
)
ret
->
ppem
+=
diff
;
width
=
face
->
size
.
x_ppem
>>
6
;
height
=
face
->
size
.
y_ppem
>>
6
;
}
...
...
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