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
2fe30b37
Commit
2fe30b37
authored
Aug 24, 2010
by
Aric Stewart
Committed by
Alexandre Julliard
Aug 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Add Sinhala Script.
parent
2af746b9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletion
+22
-1
shape.c
dlls/usp10/shape.c
+14
-0
usp10.c
dlls/usp10/usp10.c
+6
-1
usp10_internal.h
dlls/usp10/usp10_internal.h
+2
-0
No files found.
dlls/usp10/shape.c
View file @
2fe30b37
...
...
@@ -285,6 +285,19 @@ static OPENTYPE_FEATURE_RECORD syriac_features[] =
{
0x67696c64
/*dlig*/
,
1
},
};
static
OPENTYPE_FEATURE_RECORD
sinhala_features
[]
=
{
/* Base forms */
{
0x6e686b61
/*akhn*/
,
1
},
{
0x66687072
/*rphf*/
,
1
},
{
0x75746176
/*vatu*/
,
1
},
{
0x66747370
/*pstf*/
,
1
},
/* Presentation forms */
{
0x73776c62
/*blws*/
,
1
},
{
0x73766261
/*abvs*/
,
1
},
{
0x73747370
/*psts*/
,
1
},
};
typedef
struct
ScriptShapeDataTag
{
TEXTRANGE_PROPERTIES
defaultTextRange
;
CHAR
otTag
[
5
];
...
...
@@ -310,6 +323,7 @@ static const ScriptShapeData ShapingData[] =
{{
standard_features
,
2
},
"cyrl"
,
NULL
},
{{
standard_features
,
2
},
"armn"
,
NULL
},
{{
standard_features
,
2
},
"geor"
,
NULL
},
{{
sinhala_features
,
7
},
"sinh"
,
NULL
},
};
static
INT
GSUB_is_glyph_covered
(
LPCVOID
table
,
UINT
glyph
)
...
...
dlls/usp10/usp10.c
View file @
2fe30b37
...
...
@@ -77,6 +77,8 @@ static const scriptRange scriptRanges[] = {
{
Script_Arabic
,
0x750
,
0x77f
,
0
,
0
},
/* Thaana: U+0780–U+07BF */
{
Script_Thaana
,
0x780
,
0x7bf
,
0
,
0
},
/* Sinhala: U+0D80–U+0DFF */
{
Script_Sinhala
,
0xd80
,
0xdff
,
0
,
0
},
/* Georgian: U+10A0–U+10FF */
{
Script_Georgian
,
0x10a0
,
0x10ff
,
0
,
0
},
/* Phonetic Extensions: U+1D00–U+1DBF */
...
...
@@ -150,6 +152,8 @@ static const scriptData scriptInformation[] = {
{
LANG_ARMENIAN
,
0
,
0
,
0
,
0
,
ANSI_CHARSET
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
}},
{{
Script_Georgian
,
0
,
0
,
0
,
0
,
0
,
0
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
{
LANG_GEORGIAN
,
0
,
0
,
0
,
0
,
ANSI_CHARSET
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
}},
{{
Script_Sinhala
,
0
,
0
,
0
,
0
,
0
,
0
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
{
LANG_SINHALESE
,
0
,
1
,
0
,
1
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
};
static
const
SCRIPT_PROPERTIES
*
script_props
[]
=
...
...
@@ -161,7 +165,8 @@ static const SCRIPT_PROPERTIES *script_props[] =
&
scriptInformation
[
8
].
props
,
&
scriptInformation
[
9
].
props
,
&
scriptInformation
[
10
].
props
,
&
scriptInformation
[
11
].
props
,
&
scriptInformation
[
12
].
props
,
&
scriptInformation
[
13
].
props
,
&
scriptInformation
[
14
].
props
,
&
scriptInformation
[
15
].
props
&
scriptInformation
[
14
].
props
,
&
scriptInformation
[
15
].
props
,
&
scriptInformation
[
16
].
props
};
typedef
struct
{
...
...
dlls/usp10/usp10_internal.h
View file @
2fe30b37
...
...
@@ -34,6 +34,8 @@
#define Script_Cyrillic 13
#define Script_Armenian 14
#define Script_Georgian 15
/* Unicode Chapter 10 */
#define Script_Sinhala 16
#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