Check for lookahead glyphs in the right place. (Patch from #116860)

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.
This commit is contained in:
Owen Taylor 2003-07-27 02:40:31 +00:00 committed by Owen Taylor
parent 03a0fe09c7
commit 825e6d7e86
2 changed files with 6 additions and 6 deletions

View File

@ -5323,7 +5323,7 @@
/* we are starting to check for lookahead glyphs right after the /* we are starting to check for lookahead glyphs right after the
last context glyph */ last context glyph */
curr_pos = j; curr_pos += j;
s_in = &in->string[curr_pos]; s_in = &in->string[curr_pos];
for ( i = 0, j = 0; i < lgc; i++, j++ ) for ( i = 0, j = 0; i < lgc; i++, j++ )
@ -5521,7 +5521,7 @@
/* we are starting to check for lookahead glyphs right after the /* we are starting to check for lookahead glyphs right after the
last context glyph */ last context glyph */
curr_pos = j; curr_pos += j;
s_in = &in->string[curr_pos]; s_in = &in->string[curr_pos];
lc = cpcr.Lookahead; lc = cpcr.Lookahead;
@ -5669,7 +5669,7 @@
/* we are starting to check for lookahead glyphs right after the /* we are starting to check for lookahead glyphs right after the
last context glyph */ last context glyph */
curr_pos = j; curr_pos += j;
s_in = &in->string[curr_pos]; s_in = &in->string[curr_pos];
lc = ccpf3->LookaheadCoverage; lc = ccpf3->LookaheadCoverage;

View File

@ -3514,7 +3514,7 @@
/* we are starting to check for lookahead glyphs right after the /* we are starting to check for lookahead glyphs right after the
last context glyph */ last context glyph */
curr_pos = j; curr_pos += j;
s_in = &in->string[curr_pos]; s_in = &in->string[curr_pos];
for ( i = 0, j = 0; i < lgc; i++, j++ ) for ( i = 0, j = 0; i < lgc; i++, j++ )
@ -3712,7 +3712,7 @@
/* we are starting to check for lookahead glyphs right after the /* we are starting to check for lookahead glyphs right after the
last context glyph */ last context glyph */
curr_pos = j; curr_pos += j;
s_in = &in->string[curr_pos]; s_in = &in->string[curr_pos];
lc = ccsr.Lookahead; lc = ccsr.Lookahead;
@ -3859,7 +3859,7 @@
/* we are starting for lookahead glyphs right after the last context /* we are starting for lookahead glyphs right after the last context
glyph */ glyph */
curr_pos = j; curr_pos += j;
s_in = &in->string[curr_pos]; s_in = &in->string[curr_pos];
lc = ccsf3->LookaheadCoverage; lc = ccsf3->LookaheadCoverage;