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
4fbb13a2
Commit
4fbb13a2
authored
Jun 08, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Bengali initial form is only applied to the beginning of words.
parent
b913e44d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
shape.c
dlls/usp10/shape.c
+13
-1
No files found.
dlls/usp10/shape.c
View file @
4fbb13a2
...
...
@@ -471,7 +471,6 @@ static OPENTYPE_FEATURE_RECORD bengali_features[] =
{
MS_MAKE_TAG
(
'v'
,
'a'
,
't'
,
'u'
),
1
},
{
MS_MAKE_TAG
(
'c'
,
'j'
,
'c'
,
't'
),
1
},
/* Presentation forms */
{
MS_MAKE_TAG
(
'i'
,
'n'
,
'i'
,
't'
),
1
},
{
MS_MAKE_TAG
(
'p'
,
'r'
,
'e'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'a'
,
'b'
,
'v'
,
's'
),
1
},
{
MS_MAKE_TAG
(
'b'
,
'l'
,
'w'
,
's'
),
1
},
...
...
@@ -2204,6 +2203,19 @@ static void ContextualShape_Bengali(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *
GetGlyphIndicesW
(
hdc
,
input
,
cCount
,
pwOutGlyphs
,
0
);
*
pcGlyphs
=
cCount
;
/* Step 3: Initial form is only applied to the beginning of words */
for
(
cCount
=
cCount
-
1
;
cCount
>=
0
;
cCount
--
)
{
if
(
cCount
==
0
||
input
[
cCount
]
==
0x0020
)
/* space */
{
int
index
=
cCount
;
int
gCount
=
1
;
if
(
index
>
0
)
index
++
;
apply_GSUB_feature_to_glyph
(
hdc
,
psa
,
psc
,
&
pwOutGlyphs
[
index
],
0
,
1
,
&
gCount
,
"init"
);
}
}
HeapFree
(
GetProcessHeap
(),
0
,
input
);
}
...
...
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