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
08c6d79d
Commit
08c6d79d
authored
Aug 12, 2010
by
Aric Stewart
Committed by
Alexandre Julliard
Aug 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Report accurate information about our currently known scripts.
parent
8c0e5483
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
98 deletions
+7
-98
usp10.c
dlls/usp10/tests/usp10.c
+1
-1
usp10.c
dlls/usp10/usp10.c
+6
-97
No files found.
dlls/usp10/tests/usp10.c
View file @
08c6d79d
...
...
@@ -407,7 +407,7 @@ static void test_ScriptItemIzeShapePlace(HDC hdc, unsigned short pwOutGlyphs[256
trace
(
"number of script properties %d
\n
"
,
iMaxProps
);
ok
(
iMaxProps
>
0
,
"Number of scripts returned should not be 0
\n
"
);
if
(
iMaxProps
>
0
)
ok
(
ppSp
[
5
]
->
langid
==
9
,
"Langid[5] not = to 9
\n
"
);
/* Check a known value to ensure */
ok
(
ppSp
[
0
]
->
langid
==
0
,
"Langid[0] not = to 0
\n
"
);
/* Check a known value to ensure */
/* ptrs work */
/* This is a valid test that will cause parsing to take place */
...
...
dlls/usp10/usp10.c
View file @
08c6d79d
...
...
@@ -122,105 +122,14 @@ static const scriptData scriptInformation[] = {
{
LANG_PERSIAN
,
1
,
1
,
0
,
0
,
ARABIC_CHARSET
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
};
static
const
SCRIPT_P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0
,
0
,
0
},
{
93
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
{
92
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
{
9
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
{
0
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
{
0
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
{
91
,
0
,
1
,
0
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
{
9
,
0
,
1
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
0
,
0
},
{
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
};
static
const
SCRIPT_PROPERTIES
*
script_props
[]
=
{
&
props
[
0
],
&
props
[
1
],
&
props
[
2
],
&
props
[
3
],
&
props
[
4
],
&
props
[
5
],
&
props
[
6
],
&
props
[
7
],
&
props
[
8
],
&
props
[
9
],
&
props
[
11
],
&
props
[
12
],
&
props
[
13
],
&
props
[
14
],
&
props
[
15
],
&
props
[
16
],
&
props
[
17
],
&
props
[
18
],
&
props
[
19
],
&
props
[
20
],
&
props
[
21
],
&
props
[
22
],
&
props
[
23
],
&
props
[
24
],
&
props
[
25
],
&
props
[
26
],
&
props
[
27
],
&
props
[
28
],
&
props
[
29
],
&
props
[
30
],
&
props
[
31
],
&
props
[
32
],
&
props
[
33
],
&
props
[
34
],
&
props
[
35
],
&
props
[
36
],
&
props
[
37
],
&
props
[
38
],
&
props
[
39
],
&
props
[
40
],
&
props
[
41
],
&
props
[
42
],
&
props
[
43
],
&
props
[
44
],
&
props
[
45
],
&
props
[
46
],
&
props
[
47
],
&
props
[
48
],
&
props
[
49
],
&
props
[
50
],
&
props
[
51
],
&
props
[
52
],
&
props
[
53
],
&
props
[
54
],
&
props
[
55
],
&
props
[
56
],
&
props
[
57
],
&
props
[
58
],
&
props
[
59
],
&
props
[
60
],
&
props
[
61
],
&
props
[
62
],
&
props
[
63
],
&
props
[
64
],
&
props
[
65
],
&
props
[
66
],
&
props
[
67
],
&
props
[
68
],
&
props
[
69
],
&
props
[
70
],
&
props
[
71
],
&
props
[
72
],
&
props
[
73
]
&
scriptInformation
[
0
].
props
,
&
scriptInformation
[
1
].
props
,
&
scriptInformation
[
2
].
props
,
&
scriptInformation
[
3
].
props
,
&
scriptInformation
[
4
].
props
,
&
scriptInformation
[
5
].
props
,
&
scriptInformation
[
6
].
props
,
&
scriptInformation
[
7
].
props
,
&
scriptInformation
[
8
].
props
,
&
scriptInformation
[
9
].
props
,
&
scriptInformation
[
10
].
props
};
typedef
struct
{
...
...
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