Sat Jul 26 22:30:59 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgsub.c (Lookup_ChainContextSubst{1,2,3}):
Check for lookahead glyphs in the right place. (Patch
from #116860)
* pango/opentype/ftxgpos.c (Lookup_ChainContextPos{1,2,3}):
Same fix here.
/* we are starting to check for lookahead glyphs right after the
last context glyph */
- curr_pos = j;
+ curr_pos += j;
s_in = &in->string[curr_pos];
for ( i = 0, j = 0; i < lgc; i++, j++ )
/* we are starting to check for lookahead glyphs right after the
last context glyph */
- curr_pos = j;
+ curr_pos += j;
s_in = &in->string[curr_pos];
lc = cpcr.Lookahead;
/* we are starting to check for lookahead glyphs right after the
last context glyph */
- curr_pos = j;
+ curr_pos += j;
s_in = &in->string[curr_pos];
lc = ccpf3->LookaheadCoverage;
/* we are starting to check for lookahead glyphs right after the
last context glyph */
- curr_pos = j;
+ curr_pos += j;
s_in = &in->string[curr_pos];
for ( i = 0, j = 0; i < lgc; i++, j++ )
/* we are starting to check for lookahead glyphs right after the
last context glyph */
- curr_pos = j;
+ curr_pos += j;
s_in = &in->string[curr_pos];
lc = ccsr.Lookahead;
/* we are starting for lookahead glyphs right after the last context
glyph */
- curr_pos = j;
+ curr_pos += j;
s_in = &in->string[curr_pos];
lc = ccsf3->LookaheadCoverage;