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
bd0a567a
Commit
bd0a567a
authored
Aug 17, 2002
by
Huw D M Davies
Committed by
Alexandre Julliard
Aug 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for sign of font height in non MM_TEXT mode.
Fix GGO_NATIVE again.
parent
d97f7cde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
freetype.c
dlls/gdi/freetype.c
+5
-2
No files found.
dlls/gdi/freetype.c
View file @
bd0a567a
...
...
@@ -1063,7 +1063,9 @@ not_found:
debugstr_w
(
face
->
StyleName
));
ret
->
ft_face
=
OpenFontFile
(
ret
,
face
->
file
,
face
->
face_index
,
INTERNAL_YWSTODS
(
dc
,
lf
.
lfHeight
));
lf
.
lfHeight
<
0
?
-
abs
(
INTERNAL_YWSTODS
(
dc
,
lf
.
lfHeight
))
:
abs
(
INTERNAL_YWSTODS
(
dc
,
lf
.
lfHeight
)));
if
(
!
ret
->
ft_face
)
{
free_font
(
ret
);
...
...
@@ -1590,7 +1592,8 @@ DWORD WineEngGetGlyphOutline(GdiFont font, UINT glyph, UINT format,
if
(
buf
)
FTVectorToPOINTFX
(
&
outline
->
points
[
first_pt
],
&
ppc
->
apfx
[
cpfx
]);
cpfx
++
;
}
else
if
(
outline
->
tags
[
point
]
&
FT_Curve_Tag_On
)
{
}
else
if
(
point
<=
outline
->
contours
[
contour
]
&&
outline
->
tags
[
point
]
&
FT_Curve_Tag_On
)
{
/* add closing pt for bezier */
if
(
buf
)
FTVectorToPOINTFX
(
&
outline
->
points
[
point
],
&
ppc
->
apfx
[
cpfx
]);
...
...
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