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
adfa3c0c
Commit
adfa3c0c
authored
May 17, 2013
by
Aric Stewart
Committed by
Alexandre Julliard
May 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Update the vertical font to be a proper windows vertical font.
parent
d29f6c41
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
font.c
dlls/gdi32/tests/font.c
+8
-8
vertical.sfd
dlls/gdi32/tests/vertical.sfd
+0
-0
vertical.ttf
dlls/gdi32/tests/vertical.ttf
+0
-0
No files found.
dlls/gdi32/tests/font.c
View file @
adfa3c0c
...
...
@@ -4821,21 +4821,21 @@ static void test_vertical_font(void)
num
=
pAddFontResourceExA
(
ttf_name
,
FR_PRIVATE
,
0
);
ok
(
num
==
2
,
"AddFontResourceExA should add 2 fonts from vertical.ttf
\n
"
);
check_vertical_font
(
"
@
WineTestVertical"
,
&
installed
,
&
selected
,
&
gm
,
&
hgi
);
ok
(
installed
,
"
@
WineTestVertical is not installed
\n
"
);
ok
(
selected
,
"
@
WineTestVertical is not selected
\n
"
);
check_vertical_font
(
"WineTestVertical"
,
&
installed
,
&
selected
,
&
gm
,
&
hgi
);
ok
(
installed
,
"WineTestVertical is not installed
\n
"
);
ok
(
selected
,
"WineTestVertical is not selected
\n
"
);
ok
(
gm
.
gmBlackBoxX
>
gm
.
gmBlackBoxY
,
"gmBlackBoxX(%u) should be greater than gmBlackBoxY(%u) if horizontal
\n
"
,
gm
.
gmBlackBoxX
,
gm
.
gmBlackBoxY
);
check_vertical_font
(
"@
@
WineTestVertical"
,
&
installed
,
&
selected
,
&
gm
,
&
vgi
);
ok
(
installed
,
"@
@
WineTestVertical is not installed
\n
"
);
ok
(
selected
,
"@
@
WineTestVertical is not selected
\n
"
);
ok
(
gm
.
gmBlackBoxX
<
gm
.
gmBlackBoxY
,
check_vertical_font
(
"@WineTestVertical"
,
&
installed
,
&
selected
,
&
gm
,
&
vgi
);
ok
(
installed
,
"@WineTestVertical is not installed
\n
"
);
ok
(
selected
,
"@WineTestVertical is not selected
\n
"
);
todo_wine
ok
(
gm
.
gmBlackBoxX
>
gm
.
gmBlackBoxY
,
"gmBlackBoxX(%u) should be less than gmBlackBoxY(%u) if vertical
\n
"
,
gm
.
gmBlackBoxX
,
gm
.
gmBlackBoxY
);
ok
(
hgi
==
vgi
,
"different
glyph h:%u v:%u
\n
"
,
hgi
,
vgi
);
todo_wine
ok
(
hgi
!=
vgi
,
"same
glyph h:%u v:%u
\n
"
,
hgi
,
vgi
);
ret
=
pRemoveFontResourceExA
(
ttf_name
,
FR_PRIVATE
,
0
);
ok
(
ret
,
"RemoveFontResourceEx() error %d
\n
"
,
GetLastError
());
...
...
dlls/gdi32/tests/vertical.sfd
View file @
adfa3c0c
This diff is collapsed.
Click to expand it.
dlls/gdi32/tests/vertical.ttf
View file @
adfa3c0c
No preview for this file type
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