3 * (C) Copyright IBM Corp. and others 1998-2013 - All Rights Reserved
7 #ifndef __CONTEXTUALGLYPHSUBSTITUTION_H
8 #define __CONTEXTUALGLYPHSUBSTITUTION_H
16 #include "LayoutTables.h"
17 #include "StateTables.h"
18 #include "MorphTables.h"
22 struct ContextualGlyphSubstitutionHeader
: MorphStateTableHeader
24 ByteOffset substitutionTableOffset
;
27 struct ContextualGlyphHeader2
: MorphStateTableHeader2
29 le_uint32 perGlyphTableOffset
; // no more substitution tables
32 enum ContextualGlyphSubstitutionFlags
35 cgsDontAdvance
= 0x4000,
39 struct ContextualGlyphSubstitutionStateEntry
: StateEntry
41 WordOffset markOffset
;
42 WordOffset currOffset
;
45 struct ContextualGlyphStateEntry2
: StateEntry2