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
415bb3c5
Commit
415bb3c5
authored
Jul 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Don't fail if we do find Microsoft Sans Serif on Wine.
parent
5d711366
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
font.c
dlls/gdiplus/tests/font.c
+6
-2
No files found.
dlls/gdiplus/tests/font.c
View file @
415bb3c5
...
...
@@ -33,6 +33,7 @@ static const WCHAR MSSansSerif[] = {'M','S',' ','S','a','n','s',' ','S','e','r',
static
const
WCHAR
MicrosoftSansSerif
[]
=
{
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
' '
,
'S'
,
'a'
,
'n'
,
's'
,
' '
,
'S'
,
'e'
,
'r'
,
'i'
,
'f'
,
'\0'
};
static
const
WCHAR
TimesNewRoman
[]
=
{
'T'
,
'i'
,
'm'
,
'e'
,
's'
,
' '
,
'N'
,
'e'
,
'w'
,
' '
,
'R'
,
'o'
,
'm'
,
'a'
,
'n'
,
'\0'
};
static
const
WCHAR
CourierNew
[]
=
{
'C'
,
'o'
,
'u'
,
'r'
,
'i'
,
'e'
,
'r'
,
' '
,
'N'
,
'e'
,
'w'
,
'\0'
};
static
const
WCHAR
Tahoma
[]
=
{
'T'
,
'a'
,
'h'
,
'o'
,
'm'
,
'a'
,
0
};
static
void
test_createfont
(
void
)
{
...
...
@@ -295,9 +296,12 @@ static void test_getgenerics (void)
expect
(
Ok
,
stat
);
stat
=
GdipGetFamilyName
(
family
,
familyName
,
LANG_NEUTRAL
);
expect
(
Ok
,
stat
);
if
(
!
lstrcmpiW
(
familyName
,
Tahoma
))
todo_wine
ok
((
lstrcmpiW
(
familyName
,
MicrosoftSansSerif
)
==
0
),
"Expected Microsoft Sans Serif, got %s
\n
"
,
wine_dbgstr_w
(
familyName
));
"Expected Microsoft Sans Serif, got Tahoma
\n
"
);
else
ok
((
lstrcmpiW
(
familyName
,
MicrosoftSansSerif
)
==
0
),
"Expected Microsoft Sans Serif, got %s
\n
"
,
wine_dbgstr_w
(
familyName
));
stat
=
GdipDeleteFontFamily
(
family
);
expect
(
Ok
,
stat
);
...
...
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