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
3ffa9ee0
Commit
3ffa9ee0
authored
Dec 04, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite/tests: Use defined symbols when testing LOGFONT fields values.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
da11bee6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
font.c
dlls/dwrite/tests/font.c
+7
-4
No files found.
dlls/dwrite/tests/font.c
View file @
3ffa9ee0
...
...
@@ -3632,10 +3632,13 @@ if (0) { /* crashes on native */
ok
(
logfont
.
lfItalic
==
lf
.
lfItalic
,
"%s: unexpected italic flag %d, oblique simulation %s
\n
"
,
wine_dbgstr_w
(
nameW
),
logfont
.
lfItalic
,
sim
&
DWRITE_FONT_SIMULATIONS_OBLIQUE
?
"yes"
:
"no"
);
ok
(
logfont
.
lfOutPrecision
==
OUT_OUTLINE_PRECIS
,
"got %d
\n
"
,
logfont
.
lfOutPrecision
);
ok
(
logfont
.
lfClipPrecision
==
0
,
"got %d
\n
"
,
logfont
.
lfClipPrecision
);
ok
(
logfont
.
lfQuality
==
0
,
"got %d
\n
"
,
logfont
.
lfQuality
);
ok
(
logfont
.
lfPitchAndFamily
==
0
,
"got %d
\n
"
,
logfont
.
lfPitchAndFamily
);
ok
(
logfont
.
lfOutPrecision
==
OUT_OUTLINE_PRECIS
,
"%s: unexpected output precision %d
\n
"
,
wine_dbgstr_w
(
nameW
),
logfont
.
lfOutPrecision
);
ok
(
logfont
.
lfClipPrecision
==
CLIP_DEFAULT_PRECIS
,
"%s: unexpected clipping precision %d
\n
"
,
wine_dbgstr_w
(
nameW
),
logfont
.
lfClipPrecision
);
ok
(
logfont
.
lfQuality
==
DEFAULT_QUALITY
,
"%s: unexpected quality %d
\n
"
,
wine_dbgstr_w
(
nameW
),
logfont
.
lfQuality
);
ok
(
logfont
.
lfPitchAndFamily
==
DEFAULT_PITCH
,
"%s: unexpected pitch %d
\n
"
,
wine_dbgstr_w
(
nameW
),
logfont
.
lfPitchAndFamily
);
ok
(
logfont
.
lfFaceName
[
0
]
!=
0
,
"got face name %s
\n
"
,
wine_dbgstr_w
(
logfont
.
lfFaceName
));
IDWriteFont_Release
(
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