Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
baaaee82
Commit
baaaee82
authored
Jun 17, 2010
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10/tests: Windows 95 does not set invalid glyphs to 0 but instead 0x80.
parent
5c5e6a5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
usp10.c
dlls/usp10/tests/usp10.c
+4
-4
No files found.
dlls/usp10/tests/usp10.c
View file @
baaaee82
...
...
@@ -262,8 +262,8 @@ static void test_ScriptShape(HDC hdc)
hr
=
ScriptShape
(
hdc
,
&
sc
,
test2
,
4
,
4
,
&
items
[
0
].
a
,
glyphs2
,
logclust
,
attrs
,
&
nb
);
ok
(
hr
==
S_OK
,
"ScriptShape should return S_OK not %08x
\n
"
,
hr
);
ok
(
nb
==
4
,
"Wrong number of items
\n
"
);
ok
(
glyphs2
[
0
]
==
0
,
"Incorrect glyph for 0x202B
\n
"
);
ok
(
glyphs2
[
3
]
==
0
,
"Incorrect glyph for 0x202C
\n
"
);
ok
(
glyphs2
[
0
]
==
0
||
broken
(
glyphs2
[
0
]
==
0x80
)
,
"Incorrect glyph for 0x202B
\n
"
);
ok
(
glyphs2
[
3
]
==
0
||
broken
(
glyphs2
[
3
]
==
0x80
)
,
"Incorrect glyph for 0x202C
\n
"
);
ok
(
logclust
[
0
]
==
0
,
"clusters out of order
\n
"
);
ok
(
logclust
[
1
]
==
1
,
"clusters out of order
\n
"
);
ok
(
logclust
[
2
]
==
2
,
"clusters out of order
\n
"
);
...
...
@@ -640,8 +640,8 @@ static void test_ScriptGetCMap(HDC hdc, unsigned short pwOutGlyphs[256])
hr
=
ScriptGetCMap
(
hdc
,
&
psc
,
TestItem2
,
cInChars
,
dwFlags
,
pwOutGlyphs3
);
ok
(
hr
==
S_FALSE
,
"ScriptGetCMap should return S_FALSE not (%08x)
\n
"
,
hr
);
ok
(
psc
!=
NULL
,
"psc should not be null and have SCRIPT_CACHE buffer address
\n
"
);
ok
(
pwOutGlyphs3
[
0
]
==
0
,
"Glyph 0 should be default glyph
\n
"
);
ok
(
pwOutGlyphs3
[
3
]
==
0
,
"Glyph 0 should be default glyph
\n
"
);
ok
(
pwOutGlyphs3
[
0
]
==
0
||
broken
(
pwOutGlyphs3
[
0
]
==
0x80
)
,
"Glyph 0 should be default glyph
\n
"
);
ok
(
pwOutGlyphs3
[
3
]
==
0
||
broken
(
pwOutGlyphs3
[
0
]
==
0x80
)
,
"Glyph 0 should be default glyph
\n
"
);
cInChars
=
cChars
=
9
;
...
...
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