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
29d896e4
Commit
29d896e4
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 Tibetan Script.
parent
2fe30b37
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
shape.c
dlls/usp10/shape.c
+8
-0
usp10.c
dlls/usp10/usp10.c
+8
-1
usp10_internal.h
dlls/usp10/usp10_internal.h
+2
-0
No files found.
dlls/usp10/shape.c
View file @
29d896e4
...
...
@@ -298,6 +298,12 @@ static OPENTYPE_FEATURE_RECORD sinhala_features[] =
{
0x73747370
/*psts*/
,
1
},
};
static
OPENTYPE_FEATURE_RECORD
tibetan_features
[]
=
{
{
0x73766261
/*abvs*/
,
1
},
{
0x73776c62
/*blws*/
,
1
},
};
typedef
struct
ScriptShapeDataTag
{
TEXTRANGE_PROPERTIES
defaultTextRange
;
CHAR
otTag
[
5
];
...
...
@@ -324,6 +330,8 @@ static const ScriptShapeData ShapingData[] =
{{
standard_features
,
2
},
"armn"
,
NULL
},
{{
standard_features
,
2
},
"geor"
,
NULL
},
{{
sinhala_features
,
7
},
"sinh"
,
NULL
},
{{
tibetan_features
,
2
},
"tibt"
,
NULL
},
{{
tibetan_features
,
2
},
"tibt"
,
NULL
},
};
static
INT
GSUB_is_glyph_covered
(
LPCVOID
table
,
UINT
glyph
)
...
...
dlls/usp10/usp10.c
View file @
29d896e4
...
...
@@ -79,6 +79,8 @@ static const scriptRange scriptRanges[] = {
{
Script_Thaana
,
0x780
,
0x7bf
,
0
,
0
},
/* Sinhala: U+0D80–U+0DFF */
{
Script_Sinhala
,
0xd80
,
0xdff
,
0
,
0
},
/* Tibetan: U+0F00–U+0FFF */
{
Script_Tibetan
,
0xf00
,
0xfff
,
Script_Tibetan_Numeric
,
0
},
/* Georgian: U+10A0–U+10FF */
{
Script_Georgian
,
0x10a0
,
0x10ff
,
0
,
0
},
/* Phonetic Extensions: U+1D00–U+1DBF */
...
...
@@ -154,6 +156,10 @@ static const scriptData scriptInformation[] = {
{
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
}},
{{
Script_Tibetan
,
0
,
0
,
0
,
0
,
0
,
0
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
{
LANG_TIBETAN
,
0
,
1
,
1
,
1
,
DEFAULT_CHARSET
,
0
,
0
,
1
,
0
,
1
,
0
,
0
,
0
,
0
}},
{{
Script_Tibetan_Numeric
,
0
,
0
,
0
,
0
,
0
,
0
,
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
{
LANG_TIBETAN
,
1
,
1
,
0
,
0
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}},
};
static
const
SCRIPT_PROPERTIES
*
script_props
[]
=
...
...
@@ -166,7 +172,8 @@ static const SCRIPT_PROPERTIES *script_props[] =
&
scriptInformation
[
10
].
props
,
&
scriptInformation
[
11
].
props
,
&
scriptInformation
[
12
].
props
,
&
scriptInformation
[
13
].
props
,
&
scriptInformation
[
14
].
props
,
&
scriptInformation
[
15
].
props
,
&
scriptInformation
[
16
].
props
&
scriptInformation
[
16
].
props
,
&
scriptInformation
[
17
].
props
,
&
scriptInformation
[
18
].
props
};
typedef
struct
{
...
...
dlls/usp10/usp10_internal.h
View file @
29d896e4
...
...
@@ -36,6 +36,8 @@
#define Script_Georgian 15
/* Unicode Chapter 10 */
#define Script_Sinhala 16
#define Script_Tibetan 17
#define Script_Tibetan_Numeric 18
#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