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
2701b8f9
Commit
2701b8f9
authored
Aug 23, 2010
by
Aric Stewart
Committed by
Alexandre Julliard
Aug 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Add Greek Script.
parent
2585d41e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
shape.c
dlls/usp10/shape.c
+1
-0
usp10.c
dlls/usp10/usp10.c
+8
-1
usp10_internal.h
dlls/usp10/usp10_internal.h
+1
-0
No files found.
dlls/usp10/shape.c
View file @
2701b8f9
...
...
@@ -306,6 +306,7 @@ static const ScriptShapeData ShapingData[] =
{{
syriac_features
,
4
},
"syrc"
,
ContextualShape_Syriac
},
{{
arabic_features
,
6
},
"arab"
,
ContextualShape_Arabic
},
{{
NULL
,
0
},
"thaa"
,
NULL
},
{{
standard_features
,
2
},
"grek"
,
NULL
},
};
static
INT
GSUB_is_glyph_covered
(
LPCVOID
table
,
UINT
glyph
)
...
...
dlls/usp10/usp10.c
View file @
2701b8f9
...
...
@@ -56,6 +56,8 @@ static const scriptRange scriptRanges[] = {
/* Latin Extended-B: U+0180–U+024F */
/* IPA Extensions: U+0250–U+02AF */
{
Script_Latin
,
0x00
,
0x2af
,
Script_Numeric
,
Script_Punctuation
},
/* Greek: U+0370–U+03FF */
{
Script_Greek
,
0x370
,
0x3ff
,
0
,
0
},
/* Hebrew: U+0590–U+05FF */
{
Script_Hebrew
,
0x590
,
0x5ff
,
0
,
0
},
/* Arabic: U+0600–U+06FF */
...
...
@@ -74,6 +76,8 @@ static const scriptRange scriptRanges[] = {
{
Script_Latin
,
0x1d00
,
0x1dbf
,
0
,
0
},
/* Latin Extended Additional: U+1E00–U+1EFF */
{
Script_Latin
,
0x1e00
,
0x1eff
,
0
,
0
},
/* Greek Extended: U+1F00–U+1FFF */
{
Script_Greek
,
0x1f00
,
0x1fff
,
0
,
0
},
/* Latin Extended-C: U+2C60–U+2C7F */
{
Script_Latin
,
0x2c60
,
0x2c7f
,
0
,
0
},
/* Modifier Tone Letters: U+A700–U+A71F */
...
...
@@ -123,6 +127,8 @@ static const scriptData scriptInformation[] = {
{
LANG_PERSIAN
,
1
,
1
,
0
,
0
,
ARABIC_CHARSET
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
{{
Script_Thaana
,
1
,
1
,
0
,
0
,
0
,
0
,
{
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
{
LANG_DIVEHI
,
0
,
1
,
0
,
1
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
{{
Script_Greek
,
0
,
0
,
0
,
0
,
0
,
0
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
{
LANG_GREEK
,
0
,
0
,
0
,
0
,
GREEK_CHARSET
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
};
static
const
SCRIPT_PROPERTIES
*
script_props
[]
=
...
...
@@ -132,7 +138,8 @@ static const SCRIPT_PROPERTIES *script_props[] =
&
scriptInformation
[
4
].
props
,
&
scriptInformation
[
5
].
props
,
&
scriptInformation
[
6
].
props
,
&
scriptInformation
[
7
].
props
,
&
scriptInformation
[
8
].
props
,
&
scriptInformation
[
9
].
props
,
&
scriptInformation
[
10
].
props
,
&
scriptInformation
[
11
].
props
&
scriptInformation
[
10
].
props
,
&
scriptInformation
[
11
].
props
,
&
scriptInformation
[
12
].
props
};
typedef
struct
{
...
...
dlls/usp10/usp10_internal.h
View file @
2701b8f9
...
...
@@ -30,6 +30,7 @@
#define Script_Syriac 9
#define Script_Persian 10
#define Script_Thaana 11
#define Script_Greek 12
#define GLYPH_BLOCK_SHIFT 8
#define GLYPH_BLOCK_SIZE (1UL << GLYPH_BLOCK_SHIFT)
...
...
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