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
23acdb71
Commit
23acdb71
authored
Mar 30, 2009
by
Massimo Del Fedele
Committed by
Alexandre Julliard
Mar 31, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Correctly handle space char on Path_ExtTextOut().
parent
97e81bc3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
path.c
dlls/gdi32/path.c
+10
-6
No files found.
dlls/gdi32/path.c
View file @
23acdb71
...
...
@@ -1460,16 +1460,20 @@ BOOL PATH_ExtTextOut(DC *dc, INT x, INT y, UINT flags, const RECT *lprc,
void
*
outline
;
dwSize
=
GetGlyphOutlineW
(
hdc
,
str
[
idx
],
GGO_GLYPH_INDEX
|
GGO_NATIVE
,
&
gm
,
0
,
NULL
,
&
identity
);
if
(
!
dwSize
)
return
FALSE
;
if
(
dwSize
==
GDI_ERROR
)
return
FALSE
;
outline
=
HeapAlloc
(
GetProcessHeap
(),
0
,
dwSize
);
if
(
!
outline
)
return
FALSE
;
/* add outline only if char is printable */
if
(
dwSize
)
{
outline
=
HeapAlloc
(
GetProcessHeap
(),
0
,
dwSize
);
if
(
!
outline
)
return
FALSE
;
GetGlyphOutlineW
(
hdc
,
str
[
idx
],
GGO_GLYPH_INDEX
|
GGO_NATIVE
,
&
gm
,
dwSize
,
outline
,
&
identity
);
GetGlyphOutlineW
(
hdc
,
str
[
idx
],
GGO_GLYPH_INDEX
|
GGO_NATIVE
,
&
gm
,
dwSize
,
outline
,
&
identity
);
PATH_add_outline
(
dc
,
org
.
x
+
x
+
xoff
,
org
.
x
+
y
+
yoff
,
outline
,
dwSize
);
PATH_add_outline
(
dc
,
org
.
x
+
x
+
xoff
,
org
.
x
+
y
+
yoff
,
outline
,
dwSize
);
HeapFree
(
GetProcessHeap
(),
0
,
outline
);
HeapFree
(
GetProcessHeap
(),
0
,
outline
);
}
if
(
dx
)
{
...
...
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