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
648b7f2a
Commit
648b7f2a
authored
Jun 21, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Correct Post Base glyph index shifting.
parent
0ac5c7d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
shape.c
dlls/usp10/shape.c
+2
-2
No files found.
dlls/usp10/shape.c
View file @
648b7f2a
...
...
@@ -2097,7 +2097,6 @@ static void Apply_Indic_PostBase(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *psa
{
INT
index
,
nextIndex
;
INT
count
,
g_offset
;
INT
prevCount
=
*
pcGlyphs
;
count
=
syllable
->
end
-
syllable
->
base
;
...
...
@@ -2109,12 +2108,13 @@ static void Apply_Indic_PostBase(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *psa
while
(
index
>=
0
)
{
INT
prevCount
=
*
pcGlyphs
;
nextIndex
=
apply_GSUB_feature_to_glyph
(
hdc
,
psa
,
psc
,
pwOutGlyphs
,
index
+
glyph_index
->
base
+
g_offset
,
1
,
pcGlyphs
,
feat
);
if
(
nextIndex
>
GSUB_E_NOGLYPH
)
{
UpdateClusters
(
nextIndex
,
*
pcGlyphs
-
prevCount
,
1
,
cChars
,
pwLogClust
);
shift_syllable_glyph_indexs
(
glyph_index
,
index
+
glyph_index
->
start
+
g_offset
,
(
*
pcGlyphs
-
prevCount
));
g_offset
+=
(
*
pcGlyphs
-
prevCount
);
shift_syllable_glyph_indexs
(
glyph_index
,
index
+
glyph_index
->
start
,
g_offset
);
}
index
+=
2
;
...
...
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