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
d8db1b30
Commit
d8db1b30
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/tests: Add more tests for GetGlyphOutlineA.
parent
54ad1dd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
font.c
dlls/gdi32/tests/font.c
+13
-0
No files found.
dlls/gdi32/tests/font.c
View file @
d8db1b30
...
...
@@ -3241,11 +3241,24 @@ static void test_GetGlyphOutline(void)
old_hfont
=
SelectObject
(
hdc
,
hfont
);
/* expected to ignore superfluous bytes (sigle-byte character) */
ret
=
GetGlyphOutlineA
(
hdc
,
0x8041
,
GGO_BITMAP
,
&
gm
,
0
,
NULL
,
&
mat
);
ret2
=
GetGlyphOutlineA
(
hdc
,
0x41
,
GGO_BITMAP
,
&
gm2
,
0
,
NULL
,
&
mat
);
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
);
/* expected to match wide-char version results */
ret2
=
GetGlyphOutlineW
(
hdc
,
c
[
i
].
w
,
GGO_BITMAP
,
&
gm2
,
0
,
NULL
,
&
mat
);
ok
(
ret
==
ret2
&&
memcmp
(
&
gm
,
&
gm2
,
sizeof
gm
)
==
0
,
"%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