3 * (C) Copyright IBM Corp. and others 1998-2016 - All Rights Reserved
7 #ifndef __CONTEXTUALGLYPHSUBSTITUTION_H
8 #define __CONTEXTUALGLYPHSUBSTITUTION_H
16 #include "LayoutTables.h"
17 #include "MorphStateTables.h"
18 #include "MorphTables.h"
19 #include "StateTables.h"
23 struct ContextualGlyphSubstitutionHeader
: MorphStateTableHeader
25 ByteOffset substitutionTableOffset
;
28 struct ContextualGlyphHeader2
: MorphStateTableHeader2
30 le_uint32 perGlyphTableOffset
; // no more substitution tables
33 enum ContextualGlyphSubstitutionFlags
36 cgsDontAdvance
= 0x4000,
40 struct ContextualGlyphSubstitutionStateEntry
: StateEntry
42 WordOffset markOffset
;
43 WordOffset currOffset
;
46 struct ContextualGlyphStateEntry2
: StateEntry2