3 * (C) Copyright IBM Corp. and others 1998-2014 - All Rights Reserved
7 #ifndef __LIGATURESUBSTITUTIONPROCESSOR2_H
8 #define __LIGATURESUBSTITUTIONPROCESSOR2_H
16 #include "MorphTables.h"
17 #include "SubtableProcessor2.h"
18 #include "StateTableProcessor2.h"
19 #include "LigatureSubstitution.h"
25 #define nComponents 16
27 class LigatureSubstitutionProcessor2 : public StateTableProcessor2
30 virtual void beginStateTable();
32 virtual le_uint16 processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph,
33 EntryTableIndex2 index, LEErrorCode &success);
35 virtual void endStateTable();
37 LigatureSubstitutionProcessor2(const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success);
38 virtual ~LigatureSubstitutionProcessor2();
41 * ICU "poor man's RTTI", returns a UClassID for the actual class.
43 * @deprecated ICU 54. See {@link icu::LayoutEngine}
45 virtual UClassID getDynamicClassID() const;
48 * ICU "poor man's RTTI", returns a UClassID for this class.
50 * @deprecated ICU 54. See {@link icu::LayoutEngine}
52 static UClassID getStaticClassID();
55 LigatureSubstitutionProcessor2();
58 le_uint32 ligActionOffset;
59 le_uint32 componentOffset;
60 le_uint32 ligatureOffset;
62 LEReferenceToArrayOf<LigatureSubstitutionStateEntry2> entryTable;
64 le_int32 componentStack[nComponents];
67 const LEReferenceTo<LigatureSubstitutionHeader2> ligatureSubstitutionHeader;