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
4709b0bf
Commit
4709b0bf
authored
Jun 15, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Condense duplicate Indic feature sets.
parent
1be7e1bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
64 deletions
+14
-64
shape.c
dlls/usp10/shape.c
+14
-64
No files found.
dlls/usp10/shape.c
View file @
4709b0bf
...
...
@@ -440,16 +440,6 @@ static const char* required_bengali_features[] =
NULL
};
static
OPENTYPE_FEATURE_RECORD
bengali_features
[]
=
{
{
MS_MAKE_TAG
(
'p'
,
'r'
,
'e'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'a'
,
'b'
,
'v'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'b'
,
'l'
,
'w'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'p'
,
's'
,
't'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'h'
,
'a'
,
'l'
,
'n'
),
1
},
{
MS_MAKE_TAG
(
'c'
,
'a'
,
'l'
,
't'
),
1
},
};
static
const
char
*
required_gurmukhi_features
[]
=
{
"nukt"
,
...
...
@@ -469,16 +459,6 @@ static const char* required_gurmukhi_features[] =
NULL
};
static
OPENTYPE_FEATURE_RECORD
gurmukhi_features
[]
=
{
{
MS_MAKE_TAG
(
'p'
,
'r'
,
'e'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'a'
,
'b'
,
'v'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'b'
,
'l'
,
'w'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'p'
,
's'
,
't'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'h'
,
'a'
,
'l'
,
'n'
),
1
},
{
MS_MAKE_TAG
(
'c'
,
'a'
,
'l'
,
't'
),
1
},
};
static
const
char
*
required_oriya_features
[]
=
{
"nukt"
,
...
...
@@ -496,16 +476,6 @@ static const char* required_oriya_features[] =
NULL
};
static
OPENTYPE_FEATURE_RECORD
oriya_features
[]
=
{
{
MS_MAKE_TAG
(
'p'
,
'r'
,
'e'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'a'
,
'b'
,
'v'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'b'
,
'l'
,
'w'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'p'
,
's'
,
't'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'h'
,
'a'
,
'l'
,
'n'
),
1
},
{
MS_MAKE_TAG
(
'c'
,
'a'
,
'l'
,
't'
),
1
},
};
static
const
char
*
required_tamil_features
[]
=
{
"nukt"
,
...
...
@@ -522,16 +492,6 @@ static const char* required_tamil_features[] =
NULL
};
static
OPENTYPE_FEATURE_RECORD
tamil_features
[]
=
{
{
MS_MAKE_TAG
(
'p'
,
'r'
,
'e'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'a'
,
'b'
,
'v'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'b'
,
'l'
,
'w'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'p'
,
's'
,
't'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'h'
,
'a'
,
'l'
,
'n'
),
1
},
{
MS_MAKE_TAG
(
'c'
,
'a'
,
'l'
,
't'
),
1
},
};
static
const
char
*
required_telugu_features
[]
=
{
"nukt"
,
...
...
@@ -550,16 +510,6 @@ static const char* required_telugu_features[] =
NULL
};
static
OPENTYPE_FEATURE_RECORD
telugu_features
[]
=
{
{
MS_MAKE_TAG
(
'p'
,
'r'
,
'e'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'a'
,
'b'
,
'v'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'b'
,
'l'
,
'w'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'p'
,
's'
,
't'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'h'
,
'a'
,
'l'
,
'n'
),
1
},
{
MS_MAKE_TAG
(
'c'
,
'a'
,
'l'
,
't'
),
1
},
};
typedef
struct
ScriptShapeDataTag
{
TEXTRANGE_PROPERTIES
defaultTextRange
;
const
char
**
requiredFeatures
;
...
...
@@ -598,23 +548,23 @@ static const ScriptShapeData ShapingData[] =
{{
thai_features
,
1
},
required_lao_features
,
"lao"
,
""
,
NULL
,
ShapeCharGlyphProp_Thai
},
{{
devanagari_features
,
6
},
required_devanagari_features
,
"deva"
,
"dev2"
,
ContextualShape_Devanagari
,
ShapeCharGlyphProp_Devanagari
},
{{
devanagari_features
,
6
},
required_devanagari_features
,
"deva"
,
"dev2"
,
ContextualShape_Devanagari
,
ShapeCharGlyphProp_Devanagari
},
{{
bengal
i_features
,
6
},
required_bengali_features
,
"beng"
,
"bng2"
,
ContextualShape_Bengali
,
ShapeCharGlyphProp_Bengali
},
{{
bengal
i_features
,
6
},
required_bengali_features
,
"beng"
,
"bng2"
,
ContextualShape_Bengali
,
ShapeCharGlyphProp_Bengali
},
{{
gurmukh
i_features
,
6
},
required_gurmukhi_features
,
"guru"
,
"gur2"
,
ContextualShape_Gurmukhi
,
ShapeCharGlyphProp_Gurmukhi
},
{{
gurmukh
i_features
,
6
},
required_gurmukhi_features
,
"guru"
,
"gur2"
,
ContextualShape_Gurmukhi
,
ShapeCharGlyphProp_Gurmukhi
},
{{
devanagar
i_features
,
6
},
required_bengali_features
,
"beng"
,
"bng2"
,
ContextualShape_Bengali
,
ShapeCharGlyphProp_Bengali
},
{{
devanagar
i_features
,
6
},
required_bengali_features
,
"beng"
,
"bng2"
,
ContextualShape_Bengali
,
ShapeCharGlyphProp_Bengali
},
{{
devanagar
i_features
,
6
},
required_gurmukhi_features
,
"guru"
,
"gur2"
,
ContextualShape_Gurmukhi
,
ShapeCharGlyphProp_Gurmukhi
},
{{
devanagar
i_features
,
6
},
required_gurmukhi_features
,
"guru"
,
"gur2"
,
ContextualShape_Gurmukhi
,
ShapeCharGlyphProp_Gurmukhi
},
{{
devanagari_features
,
6
},
required_devanagari_features
,
"gujr"
,
"gjr2"
,
ContextualShape_Gujarati
,
ShapeCharGlyphProp_Gujarati
},
{{
devanagari_features
,
6
},
required_devanagari_features
,
"gujr"
,
"gjr2"
,
ContextualShape_Gujarati
,
ShapeCharGlyphProp_Gujarati
},
{{
devanagari_features
,
6
},
required_devanagari_features
,
"gujr"
,
"gjr2"
,
ContextualShape_Gujarati
,
ShapeCharGlyphProp_Gujarati
},
{{
oriya
_features
,
6
},
required_oriya_features
,
"orya"
,
"ory2"
,
ContextualShape_Oriya
,
ShapeCharGlyphProp_Oriya
},
{{
oriya
_features
,
6
},
required_oriya_features
,
"orya"
,
"ory2"
,
ContextualShape_Oriya
,
ShapeCharGlyphProp_Oriya
},
{{
tamil
_features
,
6
},
required_tamil_features
,
"taml"
,
"tam2"
,
ContextualShape_Tamil
,
ShapeCharGlyphProp_Tamil
},
{{
tamil
_features
,
6
},
required_tamil_features
,
"taml"
,
"tam2"
,
ContextualShape_Tamil
,
ShapeCharGlyphProp_Tamil
},
{{
telugu
_features
,
6
},
required_telugu_features
,
"telu"
,
"tel2"
,
ContextualShape_Telugu
,
ShapeCharGlyphProp_Telugu
},
{{
telugu
_features
,
6
},
required_telugu_features
,
"telu"
,
"tel2"
,
ContextualShape_Telugu
,
ShapeCharGlyphProp_Telugu
},
{{
telugu
_features
,
6
},
required_telugu_features
,
"knda"
,
"knd2"
,
ContextualShape_Kannada
,
ShapeCharGlyphProp_Kannada
},
{{
telugu
_features
,
6
},
required_telugu_features
,
"knda"
,
"knd2"
,
ContextualShape_Kannada
,
ShapeCharGlyphProp_Kannada
},
{{
telugu
_features
,
6
},
required_telugu_features
,
"mlym"
,
"mlm2"
,
ContextualShape_Malayalam
,
ShapeCharGlyphProp_Malayalam
},
{{
telugu
_features
,
6
},
required_telugu_features
,
"mlym"
,
"mlm2"
,
ContextualShape_Malayalam
,
ShapeCharGlyphProp_Malayalam
},
{{
devanagari
_features
,
6
},
required_oriya_features
,
"orya"
,
"ory2"
,
ContextualShape_Oriya
,
ShapeCharGlyphProp_Oriya
},
{{
devanagari
_features
,
6
},
required_oriya_features
,
"orya"
,
"ory2"
,
ContextualShape_Oriya
,
ShapeCharGlyphProp_Oriya
},
{{
devanagari
_features
,
6
},
required_tamil_features
,
"taml"
,
"tam2"
,
ContextualShape_Tamil
,
ShapeCharGlyphProp_Tamil
},
{{
devanagari
_features
,
6
},
required_tamil_features
,
"taml"
,
"tam2"
,
ContextualShape_Tamil
,
ShapeCharGlyphProp_Tamil
},
{{
devanagari
_features
,
6
},
required_telugu_features
,
"telu"
,
"tel2"
,
ContextualShape_Telugu
,
ShapeCharGlyphProp_Telugu
},
{{
devanagari
_features
,
6
},
required_telugu_features
,
"telu"
,
"tel2"
,
ContextualShape_Telugu
,
ShapeCharGlyphProp_Telugu
},
{{
devanagari
_features
,
6
},
required_telugu_features
,
"knda"
,
"knd2"
,
ContextualShape_Kannada
,
ShapeCharGlyphProp_Kannada
},
{{
devanagari
_features
,
6
},
required_telugu_features
,
"knda"
,
"knd2"
,
ContextualShape_Kannada
,
ShapeCharGlyphProp_Kannada
},
{{
devanagari
_features
,
6
},
required_telugu_features
,
"mlym"
,
"mlm2"
,
ContextualShape_Malayalam
,
ShapeCharGlyphProp_Malayalam
},
{{
devanagari
_features
,
6
},
required_telugu_features
,
"mlym"
,
"mlm2"
,
ContextualShape_Malayalam
,
ShapeCharGlyphProp_Malayalam
},
};
static
INT
GSUB_is_glyph_covered
(
LPCVOID
table
,
UINT
glyph
)
...
...
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