Lines Matching refs:success
25 LigatureSubstitutionProcessor2::LigatureSubstitutionProcessor2(const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success)
26 : StateTableProcessor2(morphSubtableHeader, success),
28 componentOffset(0), ligatureOffset(0), entryTable(), ligatureSubstitutionHeader(morphSubtableHeader, success)
30 if (LE_FAILURE(success)) return;
36 entryTable = LEReferenceToArrayOf<LigatureSubstitutionStateEntry2>(stHeader, success, entryTableOffset, LE_UNBOUNDED_ARRAY);
48 le_uint16 LigatureSubstitutionProcessor2::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex2 index, LEErrorCode &success)
50 const LigatureSubstitutionStateEntry2 *entry = entryTable.getAlias(index, success);
51 if(LE_FAILURE(success)) return 0;
72 LEReferenceTo<LigatureActionEntry> ap(stHeader, success, ligActionOffset); // byte offset
73 ap.addObject(ligActionIndex - 1, success); // index offset ( one before the actual start, because we will pre-increment)
74 LEReferenceToArrayOf<TTGlyphID> ligatureTable(stHeader, success, ligatureOffset, LE_UNBOUNDED_ARRAY);
80 LEReferenceToArrayOf<le_uint16> componentTable(stHeader, success, componentOffset, LE_UNBOUNDED_ARRAY);
81 if(LE_FAILURE(success)) {
89 ap.addObject(success);
103 i += SWAPW(componentTable(LE_GET_GLYPH(glyphStorage[componentGlyph]) + (SignExtend(offset, lafComponentOffsetMask)),success));
106 TTGlyphID ligatureGlyph = SWAPW(ligatureTable(i,success));