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
2585d41e
Commit
2585d41e
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 Thaana script.
parent
243771de
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
shape.c
dlls/usp10/shape.c
+1
-0
usp10.c
dlls/usp10/usp10.c
+5
-2
usp10_internal.h
dlls/usp10/usp10_internal.h
+1
-0
No files found.
dlls/usp10/shape.c
View file @
2585d41e
...
@@ -305,6 +305,7 @@ static const ScriptShapeData ShapingData[] =
...
@@ -305,6 +305,7 @@ static const ScriptShapeData ShapingData[] =
{{
hebrew_features
,
1
},
"hebr"
,
NULL
},
{{
hebrew_features
,
1
},
"hebr"
,
NULL
},
{{
syriac_features
,
4
},
"syrc"
,
ContextualShape_Syriac
},
{{
syriac_features
,
4
},
"syrc"
,
ContextualShape_Syriac
},
{{
arabic_features
,
6
},
"arab"
,
ContextualShape_Arabic
},
{{
arabic_features
,
6
},
"arab"
,
ContextualShape_Arabic
},
{{
NULL
,
0
},
"thaa"
,
NULL
},
};
};
static
INT
GSUB_is_glyph_covered
(
LPCVOID
table
,
UINT
glyph
)
static
INT
GSUB_is_glyph_covered
(
LPCVOID
table
,
UINT
glyph
)
...
...
dlls/usp10/usp10.c
View file @
2585d41e
...
@@ -50,7 +50,6 @@ typedef struct _scriptRange
...
@@ -50,7 +50,6 @@ typedef struct _scriptRange
}
scriptRange
;
}
scriptRange
;
static
const
scriptRange
scriptRanges
[]
=
{
static
const
scriptRange
scriptRanges
[]
=
{
/* Basic Latin: U+0000–U+007A */
/* Basic Latin: U+0000–U+007A */
/* Latin-1 Supplement: U+0080–U+00FF */
/* Latin-1 Supplement: U+0080–U+00FF */
/* Latin Extended-A: U+0100–U+017F */
/* Latin Extended-A: U+0100–U+017F */
...
@@ -69,6 +68,8 @@ static const scriptRange scriptRanges[] = {
...
@@ -69,6 +68,8 @@ static const scriptRange scriptRanges[] = {
{
Script_Syriac
,
0x700
,
0x74f
,
0
,
0
},
{
Script_Syriac
,
0x700
,
0x74f
,
0
,
0
},
/* Arabic Supplement: U+0750–U+077F */
/* Arabic Supplement: U+0750–U+077F */
{
Script_Arabic
,
0x750
,
0x77f
,
0
,
0
},
{
Script_Arabic
,
0x750
,
0x77f
,
0
,
0
},
/* Thaana: U+0780–U+07BF */
{
Script_Thaana
,
0x780
,
0x7bf
,
0
,
0
},
/* Phonetic Extensions: U+1D00–U+1DBF */
/* Phonetic Extensions: U+1D00–U+1DBF */
{
Script_Latin
,
0x1d00
,
0x1dbf
,
0
,
0
},
{
Script_Latin
,
0x1d00
,
0x1dbf
,
0
,
0
},
/* Latin Extended Additional: U+1E00–U+1EFF */
/* Latin Extended Additional: U+1E00–U+1EFF */
...
@@ -120,6 +121,8 @@ static const scriptData scriptInformation[] = {
...
@@ -120,6 +121,8 @@ static const scriptData scriptInformation[] = {
{
LANG_SYRIAC
,
0
,
1
,
0
,
0
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
1
,
0
}},
{
LANG_SYRIAC
,
0
,
1
,
0
,
0
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
1
,
0
}},
{{
Script_Persian
,
1
,
1
,
0
,
0
,
0
,
0
,
{
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
{{
Script_Persian
,
1
,
1
,
0
,
0
,
0
,
0
,
{
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
{
LANG_PERSIAN
,
1
,
1
,
0
,
0
,
ARABIC_CHARSET
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
{
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
}},
};
};
static
const
SCRIPT_PROPERTIES
*
script_props
[]
=
static
const
SCRIPT_PROPERTIES
*
script_props
[]
=
...
@@ -129,7 +132,7 @@ static const SCRIPT_PROPERTIES *script_props[] =
...
@@ -129,7 +132,7 @@ static const SCRIPT_PROPERTIES *script_props[] =
&
scriptInformation
[
4
].
props
,
&
scriptInformation
[
5
].
props
,
&
scriptInformation
[
4
].
props
,
&
scriptInformation
[
5
].
props
,
&
scriptInformation
[
6
].
props
,
&
scriptInformation
[
7
].
props
,
&
scriptInformation
[
6
].
props
,
&
scriptInformation
[
7
].
props
,
&
scriptInformation
[
8
].
props
,
&
scriptInformation
[
9
].
props
,
&
scriptInformation
[
8
].
props
,
&
scriptInformation
[
9
].
props
,
&
scriptInformation
[
10
].
props
&
scriptInformation
[
10
].
props
,
&
scriptInformation
[
11
].
props
};
};
typedef
struct
{
typedef
struct
{
...
...
dlls/usp10/usp10_internal.h
View file @
2585d41e
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
#define Script_Hebrew 8
#define Script_Hebrew 8
#define Script_Syriac 9
#define Script_Syriac 9
#define Script_Persian 10
#define Script_Persian 10
#define Script_Thaana 11
#define GLYPH_BLOCK_SHIFT 8
#define GLYPH_BLOCK_SHIFT 8
#define GLYPH_BLOCK_SIZE (1UL << GLYPH_BLOCK_SHIFT)
#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