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
79ab0c33
Commit
79ab0c33
authored
May 04, 2011
by
Akihiro Sagawa
Committed by
Alexandre Julliard
May 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Pass a proper code point from GetGlyphOutlineA to W version.
parent
d8db1b30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
font.c
dlls/gdi32/font.c
+1
-0
font.c
dlls/gdi32/tests/font.c
+0
-2
No files found.
dlls/gdi32/font.c
View file @
79ab0c33
...
...
@@ -2521,6 +2521,7 @@ DWORD WINAPI GetGlyphOutlineA( HDC hdc, UINT uChar, UINT fuFormat,
len
=
1
;
mbchs
[
0
]
=
(
uChar
&
0xff
);
}
uChar
=
0
;
MultiByteToWideChar
(
cp
,
0
,
mbchs
,
len
,
(
LPWSTR
)
&
uChar
,
1
);
}
...
...
dlls/gdi32/tests/font.c
View file @
79ab0c33
...
...
@@ -3247,14 +3247,12 @@ static void test_GetGlyphOutline(void)
ok
(
ret
==
ret2
&&
memcmp
(
&
gm
,
&
gm2
,
sizeof
gm
)
==
0
,
"%d %d
\n
"
,
ret
,
ret2
);
ret
=
GetGlyphOutlineA
(
hdc
,
0xcc8041
,
GGO_BITMAP
,
&
gm
,
0
,
NULL
,
&
mat
);
todo_wine
ok
(
ret
==
ret2
&&
memcmp
(
&
gm
,
&
gm2
,
sizeof
gm
)
==
0
,
"Expected to ignore superfluous bytes, got %d %d
\n
"
,
ret
,
ret2
);
/* expected to ignore superfluous bytes (double-byte character) */
ret
=
GetGlyphOutlineA
(
hdc
,
c
[
i
].
a
,
GGO_BITMAP
,
&
gm
,
0
,
NULL
,
&
mat
);
ret2
=
GetGlyphOutlineA
(
hdc
,
c
[
i
].
a
|
0xdead0000
,
GGO_BITMAP
,
&
gm2
,
0
,
NULL
,
&
mat
);
todo_wine
ok
(
ret
==
ret2
&&
memcmp
(
&
gm
,
&
gm2
,
sizeof
gm
)
==
0
,
"Expected to ignore superfluous bytes, got %d %d
\n
"
,
ret
,
ret2
);
...
...
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