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
c81ff0f8
Commit
c81ff0f8
authored
Jun 19, 2015
by
Huw Davies
Committed by
Alexandre Julliard
Jun 19, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Japanese Win 7 uses MS Shell Dlg as its default GUI font.
parent
0a190487
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
font.c
dlls/gdi32/tests/font.c
+4
-2
No files found.
dlls/gdi32/tests/font.c
View file @
c81ff0f8
...
...
@@ -5705,7 +5705,7 @@ static void test_stock_fonts(void)
int
charset
,
weight
,
height
,
height_pixels
,
dpi
;
const
char
face_name
[
LF_FACESIZE
];
WORD
lang_id
;
}
td
[][
1
1
]
=
}
td
[][
1
2
]
=
{
{
/* ANSI_FIXED_FONT */
{
ANSI_CHARSET
,
FW_NORMAL
,
12
,
12
,
96
,
"Courier"
,
LANG_ARABIC
},
...
...
@@ -5737,6 +5737,7 @@ static void test_stock_fonts(void)
{
0
}
},
{
/* DEFAULT_GUI_FONT */
{
SHIFTJIS_CHARSET
,
FW_NORMAL
,
-
11
,
13
,
96
,
"MS Shell Dlg"
},
{
SHIFTJIS_CHARSET
,
FW_NORMAL
,
-
12
,
15
,
96
,
"?MS UI Gothic"
},
{
SHIFTJIS_CHARSET
,
FW_NORMAL
,
-
15
,
18
,
120
,
"?MS UI Gothic"
},
{
HANGEUL_CHARSET
,
FW_NORMAL
,
-
12
,
15
,
96
,
"?Gulim"
},
...
...
@@ -5772,7 +5773,8 @@ static void test_stock_fonts(void)
for
(
j
=
0
;
td
[
i
][
j
].
face_name
[
0
]
!=
0
;
j
++
)
{
if
((
lf
.
lfCharSet
!=
td
[
i
][
j
].
charset
&&
td
[
i
][
j
].
charset
!=
DEFAULT_CHARSET
)
||
(
system_lang_id
!=
td
[
i
][
j
].
lang_id
&&
td
[
i
][
j
].
lang_id
!=
LANG_NEUTRAL
))
(
system_lang_id
!=
td
[
i
][
j
].
lang_id
&&
td
[
i
][
j
].
lang_id
!=
LANG_NEUTRAL
)
||
(
td
[
i
][
j
].
face_name
[
0
]
!=
'?'
&&
strcmp
(
lf
.
lfFaceName
,
td
[
i
][
j
].
face_name
)))
{
continue
;
}
...
...
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