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
1e115d65
Commit
1e115d65
authored
Jun 06, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Don't return prematurely from Chaining Contextual Substitution.
parent
4e7d0397
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
shape.c
dlls/usp10/shape.c
+6
-6
No files found.
dlls/usp10/shape.c
View file @
1e115d65
...
...
@@ -969,12 +969,12 @@ static INT GSUB_apply_ChainContextSubst(const GSUB_LookupList* lookup, const GSU
if
(
GET_BE_WORD
(
ccsf1
->
SubstFormat
)
==
1
)
{
FIXME
(
" TODO: subtype 1 (Simple context glyph substitution)
\n
"
);
return
-
1
;
continue
;
}
else
if
(
GET_BE_WORD
(
ccsf1
->
SubstFormat
)
==
2
)
{
FIXME
(
" TODO: subtype 2 (Class-based Chaining Context Glyph Substitution)
\n
"
);
return
-
1
;
continue
;
}
else
if
(
GET_BE_WORD
(
ccsf1
->
SubstFormat
)
==
3
)
{
...
...
@@ -997,7 +997,7 @@ static INT GSUB_apply_ChainContextSubst(const GSUB_LookupList* lookup, const GSU
break
;
}
if
(
k
!=
GET_BE_WORD
(
ccsf3_1
->
BacktrackGlyphCount
))
return
-
1
;
continue
;
TRACE
(
"Matched Backtrack
\n
"
);
ccsf3_2
=
(
const
GSUB_ChainContextSubstFormat3_2
*
)(((
LPBYTE
)
ccsf1
)
+
sizeof
(
GSUB_ChainContextSubstFormat3_1
)
+
(
sizeof
(
WORD
)
*
(
GET_BE_WORD
(
ccsf3_1
->
BacktrackGlyphCount
)
-
1
)));
...
...
@@ -1010,7 +1010,7 @@ static INT GSUB_apply_ChainContextSubst(const GSUB_LookupList* lookup, const GSU
break
;
}
if
(
k
!=
indexGlyphs
)
return
-
1
;
continue
;
TRACE
(
"Matched IndexGlyphs
\n
"
);
ccsf3_3
=
(
const
GSUB_ChainContextSubstFormat3_3
*
)(((
LPBYTE
)
ccsf3_2
)
+
sizeof
(
GSUB_ChainContextSubstFormat3_2
)
+
(
sizeof
(
WORD
)
*
(
GET_BE_WORD
(
ccsf3_2
->
InputGlyphCount
)
-
1
)));
...
...
@@ -1022,7 +1022,7 @@ static INT GSUB_apply_ChainContextSubst(const GSUB_LookupList* lookup, const GSU
break
;
}
if
(
k
!=
GET_BE_WORD
(
ccsf3_3
->
LookaheadGlyphCount
))
return
-
1
;
continue
;
TRACE
(
"Matched LookAhead
\n
"
);
ccsf3_4
=
(
const
GSUB_ChainContextSubstFormat3_4
*
)(((
LPBYTE
)
ccsf3_3
)
+
sizeof
(
GSUB_ChainContextSubstFormat3_3
)
+
(
sizeof
(
WORD
)
*
(
GET_BE_WORD
(
ccsf3_3
->
LookaheadGlyphCount
)
-
1
)));
...
...
@@ -1037,7 +1037,7 @@ static INT GSUB_apply_ChainContextSubst(const GSUB_LookupList* lookup, const GSU
if
(
newIndex
==
-
1
)
{
ERR
(
"Chain failed to generate a glyph
\n
"
);
return
-
1
;
continue
;
}
}
return
newIndex
+
1
;
...
...
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