< prev index next >
src/share/native/sun/font/layout/LigatureSubstProc.cpp
Print this page
rev 1554 : 8158302: Handle contextual glyph substitutions
Reviewed-by: prr
*** 65,77 ****
void LigatureSubstitutionProcessor::beginStateTable()
{
m = -1;
}
! ByteOffset LigatureSubstitutionProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index)
{
- LEErrorCode success = LE_NO_ERROR;
const LigatureSubstitutionStateEntry *entry = entryTable.getAlias(index, success);
if (LE_FAILURE(success)) {
currGlyph++;
return 0;
}
--- 65,76 ----
void LigatureSubstitutionProcessor::beginStateTable()
{
m = -1;
}
! ByteOffset LigatureSubstitutionProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index, LEErrorCode &success)
{
const LigatureSubstitutionStateEntry *entry = entryTable.getAlias(index, success);
if (LE_FAILURE(success)) {
currGlyph++;
return 0;
}
< prev index next >