3 * (C) Copyright IBM Corp. 1998-2014 - All Rights Reserved
7 #ifndef __LIGATURESUBSTITUTIONPROCESSOR_H
8 #define __LIGATURESUBSTITUTIONPROCESSOR_H
16 #include "MorphTables.h"
17 #include "SubtableProcessor.h"
18 #include "StateTableProcessor.h"
19 #include "LigatureSubstitution.h"
25 #define nComponents 16
27 class LigatureSubstitutionProcessor : public StateTableProcessor
30 virtual void beginStateTable();
32 virtual ByteOffset processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index);
34 virtual void endStateTable();
36 LigatureSubstitutionProcessor(const LEReferenceTo<MorphSubtableHeader> &morphSubtableHeader, LEErrorCode &success);
37 virtual ~LigatureSubstitutionProcessor();
40 * ICU "poor man's RTTI", returns a UClassID for the actual class.
42 * @deprecated ICU 54. See {@link icu::LayoutEngine}
44 virtual UClassID getDynamicClassID() const;
47 * ICU "poor man's RTTI", returns a UClassID for this class.
49 * @deprecated ICU 54. See {@link icu::LayoutEngine}
51 static UClassID getStaticClassID();
54 LigatureSubstitutionProcessor();
57 ByteOffset ligatureActionTableOffset;
58 ByteOffset componentTableOffset;
59 ByteOffset ligatureTableOffset;
61 LEReferenceToArrayOf<LigatureSubstitutionStateEntry> entryTable;
63 le_int32 componentStack[nComponents];
66 LEReferenceTo<LigatureSubstitutionHeader> ligatureSubstitutionHeader;