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
e626019b
Commit
e626019b
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: Apply 'rkrf' to the Indic syllable.
parent
7058b3a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
shape.c
dlls/usp10/shape.c
+11
-6
No files found.
dlls/usp10/shape.c
View file @
e626019b
...
...
@@ -421,7 +421,6 @@ static OPENTYPE_FEATURE_RECORD devanagari_features[] =
{
/* Base forms */
{
MS_MAKE_TAG
(
'r'
,
'p'
,
'h'
,
'f'
),
1
},
{
MS_MAKE_TAG
(
'r'
,
'k'
,
'r'
,
'f'
),
1
},
{
MS_MAKE_TAG
(
'b'
,
'l'
,
'w'
,
'f'
),
1
},
{
MS_MAKE_TAG
(
'h'
,
'a'
,
'l'
,
'f'
),
1
},
{
MS_MAKE_TAG
(
'v'
,
'a'
,
't'
,
'u'
),
1
},
...
...
@@ -643,15 +642,15 @@ static const ScriptShapeData ShapingData[] =
{{
thai_features
,
1
},
NULL
,
"thai"
,
""
,
NULL
,
ShapeCharGlyphProp_Thai
},
{{
thai_features
,
1
},
required_lao_features
,
"lao"
,
""
,
NULL
,
ShapeCharGlyphProp_Thai
},
{{
thai_features
,
1
},
required_lao_features
,
"lao"
,
""
,
NULL
,
ShapeCharGlyphProp_Thai
},
{{
devanagari_features
,
1
2
},
required_devanagari_features
,
"deva"
,
"dev2"
,
ContextualShape_Devanagari
,
ShapeCharGlyphProp_Devanagari
},
{{
devanagari_features
,
1
2
},
required_devanagari_features
,
"deva"
,
"dev2"
,
ContextualShape_Devanagari
,
ShapeCharGlyphProp_Devanagari
},
{{
devanagari_features
,
1
1
},
required_devanagari_features
,
"deva"
,
"dev2"
,
ContextualShape_Devanagari
,
ShapeCharGlyphProp_Devanagari
},
{{
devanagari_features
,
1
1
},
required_devanagari_features
,
"deva"
,
"dev2"
,
ContextualShape_Devanagari
,
ShapeCharGlyphProp_Devanagari
},
{{
bengali_features
,
12
},
required_bengali_features
,
"beng"
,
"bng2"
,
ContextualShape_Bengali
,
ShapeCharGlyphProp_Bengali
},
{{
bengali_features
,
12
},
required_bengali_features
,
"beng"
,
"bng2"
,
ContextualShape_Bengali
,
ShapeCharGlyphProp_Bengali
},
{{
gurmukhi_features
,
12
},
required_gurmukhi_features
,
"guru"
,
"gur2"
,
ContextualShape_Gurmukhi
,
ShapeCharGlyphProp_Gurmukhi
},
{{
gurmukhi_features
,
12
},
required_gurmukhi_features
,
"guru"
,
"gur2"
,
ContextualShape_Gurmukhi
,
ShapeCharGlyphProp_Gurmukhi
},
{{
devanagari_features
,
1
2
},
required_devanagari_features
,
"gujr"
,
"gjr2"
,
ContextualShape_Gujarati
,
ShapeCharGlyphProp_Gujarati
},
{{
devanagari_features
,
1
2
},
required_devanagari_features
,
"gujr"
,
"gjr2"
,
ContextualShape_Gujarati
,
ShapeCharGlyphProp_Gujarati
},
{{
devanagari_features
,
1
2
},
required_devanagari_features
,
"gujr"
,
"gjr2"
,
ContextualShape_Gujarati
,
ShapeCharGlyphProp_Gujarati
},
{{
devanagari_features
,
1
1
},
required_devanagari_features
,
"gujr"
,
"gjr2"
,
ContextualShape_Gujarati
,
ShapeCharGlyphProp_Gujarati
},
{{
devanagari_features
,
1
1
},
required_devanagari_features
,
"gujr"
,
"gjr2"
,
ContextualShape_Gujarati
,
ShapeCharGlyphProp_Gujarati
},
{{
devanagari_features
,
1
1
},
required_devanagari_features
,
"gujr"
,
"gjr2"
,
ContextualShape_Gujarati
,
ShapeCharGlyphProp_Gujarati
},
{{
oriya_features
,
10
},
required_oriya_features
,
"orya"
,
"ory2"
,
ContextualShape_Oriya
,
ShapeCharGlyphProp_Oriya
},
{{
oriya_features
,
10
},
required_oriya_features
,
"orya"
,
"ory2"
,
ContextualShape_Oriya
,
ShapeCharGlyphProp_Oriya
},
{{
tamil_features
,
9
},
required_tamil_features
,
"taml"
,
"tam2"
,
ContextualShape_Tamil
,
ShapeCharGlyphProp_Tamil
},
...
...
@@ -2038,6 +2037,7 @@ static void ShapeIndicSyllables(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *psa,
const
GSUB_Feature
*
locl
=
load_GSUB_feature
(
hdc
,
psa
,
psc
,
"locl"
);
const
GSUB_Feature
*
nukt
=
load_GSUB_feature
(
hdc
,
psa
,
psc
,
"nukt"
);
const
GSUB_Feature
*
akhn
=
load_GSUB_feature
(
hdc
,
psa
,
psc
,
"akhn"
);
const
GSUB_Feature
*
rkrf
=
load_GSUB_feature
(
hdc
,
psa
,
psc
,
"rkrf"
);
IndicSyllable
glyph_indexs
;
for
(
c
=
0
;
c
<
syllable_count
;
c
++
)
...
...
@@ -2062,6 +2062,11 @@ static void ShapeIndicSyllables(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *psa,
TRACE
(
"applying feature akhn
\n
"
);
Apply_Indic_BasicForm
(
hdc
,
psc
,
psa
,
pwChars
,
cChars
,
&
syllables
[
c
],
pwOutGlyphs
,
pcGlyphs
,
pwLogClust
,
lexical
,
&
glyph_indexs
,
akhn
);
}
if
(
rkrf
)
{
TRACE
(
"applying feature rkrf
\n
"
);
Apply_Indic_BasicForm
(
hdc
,
psc
,
psa
,
pwChars
,
cChars
,
&
syllables
[
c
],
pwOutGlyphs
,
pcGlyphs
,
pwLogClust
,
lexical
,
&
glyph_indexs
,
rkrf
);
}
overall_shift
+=
glyph_indexs
.
end
-
old_end
;
}
...
...
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