Lines Matching refs:success
50 LigatureSubstitutionProcessor2::LigatureSubstitutionProcessor2(const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success)
51 : StateTableProcessor2(morphSubtableHeader, success),
53 ligatureSubstitutionHeader(morphSubtableHeader, success), componentOffset(0), ligatureOffset(0), entryTable()
55 if (LE_FAILURE(success)) return;
61 entryTable = LEReferenceToArrayOf<LigatureSubstitutionStateEntry2>(stHeader, success, entryTableOffset, LE_UNBOUNDED_ARRAY);
73 le_uint16 LigatureSubstitutionProcessor2::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex2 index, LEErrorCode &success)
75 const LigatureSubstitutionStateEntry2 *entry = entryTable.getAlias(index, success);
76 if(LE_FAILURE(success)) return 0;
97 LEReferenceTo<LigatureActionEntry> ap(stHeader, success, ligActionOffset); // byte offset
98 ap.addObject(ligActionIndex - 1, success); // index offset ( one before the actual start, because we will pre-increment)
99 LEReferenceToArrayOf<TTGlyphID> ligatureTable(stHeader, success, ligatureOffset, LE_UNBOUNDED_ARRAY);
105 LEReferenceToArrayOf<le_uint16> componentTable(stHeader, success, componentOffset, LE_UNBOUNDED_ARRAY);
106 if(LE_FAILURE(success)) {
114 ap.addObject(success);
128 i += SWAPW(componentTable(LE_GET_GLYPH(glyphStorage[componentGlyph]) + (SignExtend(offset, lafComponentOffsetMask)),success));
131 TTGlyphID ligatureGlyph = SWAPW(ligatureTable(i,success));