3 * (C) Copyright IBM Corp. and others 1998-2013 - 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
, EntryTableIndex2 index
);
34 virtual void endStateTable();
36 LigatureSubstitutionProcessor2(const MorphSubtableHeader2
*morphSubtableHeader
);
37 virtual ~LigatureSubstitutionProcessor2();
40 * ICU "poor man's RTTI", returns a UClassID for the actual class.
44 virtual UClassID
getDynamicClassID() const;
47 * ICU "poor man's RTTI", returns a UClassID for this class.
51 static UClassID
getStaticClassID();
54 LigatureSubstitutionProcessor2();
57 le_uint32 ligActionOffset
;
58 le_uint32 componentOffset
;
59 le_uint32 ligatureOffset
;
61 const LigatureSubstitutionStateEntry2
*entryTable
;
63 le_int32 componentStack
[nComponents
];
66 const LigatureSubstitutionHeader2
*ligatureSubstitutionHeader
;