mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-5227 let second glyph that's matched in PairPositioningSubtables be the first glyph of the next pari.
X-SVN-Rev: 20676
This commit is contained in:
parent
464a7b1972
commit
87c1c18c6d
1 changed files with 8 additions and 2 deletions
|
@ -76,7 +76,10 @@ le_uint32 PairPositioningFormat1Subtable::process(GlyphIterator *glyphIterator,
|
|||
valueRecord2->adjustPosition(SWAPW(valueFormat2), (char *) this, *glyphIterator, fontInstance);
|
||||
}
|
||||
|
||||
return 2;
|
||||
// back up glyphIterator so second glyph can be
|
||||
// first glyph in the next pair
|
||||
glyphIterator->prev();
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -112,7 +115,10 @@ le_uint32 PairPositioningFormat2Subtable::process(GlyphIterator *glyphIterator,
|
|||
valueRecord2->adjustPosition(SWAPW(valueFormat2), (const char *) this, *glyphIterator, fontInstance);
|
||||
}
|
||||
|
||||
return 2;
|
||||
// back up glyphIterator so second glyph can be
|
||||
// first glyph in the next pair
|
||||
glyphIterator->prev();
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue