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
eeb52474
Commit
eeb52474
authored
Jun 19, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add a test for creating a nonexistent font with GdipCreateFontFromLogfont.
parent
bc66ef04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
font.c
dlls/gdiplus/tests/font.c
+5
-0
No files found.
dlls/gdiplus/tests/font.c
View file @
eeb52474
...
...
@@ -105,6 +105,11 @@ static void test_logfont(void)
memset
(
&
lfa
,
0
,
sizeof
(
LOGFONTA
));
memset
(
&
lfa2
,
0xff
,
sizeof
(
LOGFONTA
));
lstrcpyA
(
lfa
.
lfFaceName
,
"Nonexistent font"
);
stat
=
GdipCreateFontFromLogfontA
(
hdc
,
&
lfa
,
&
font
);
ok
(
stat
==
NotTrueTypeFont
||
broken
(
stat
==
FileNotFound
),
/* before XP */
"expected NotTrueTypeFont, got %d
\n
"
,
stat
);
/* empty FaceName */
lfa
.
lfFaceName
[
0
]
=
0
;
stat
=
GdipCreateFontFromLogfontA
(
hdc
,
&
lfa
,
&
font
);
...
...
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