3 * (C) Copyright IBM Corp. and Others 1998-2013 - All Rights Reserved
7 #ifndef __CONTEXTUALGLYPHINSERTION_H
8 #define __CONTEXTUALGLYPHINSERTION_H
16 #include "LayoutTables.h"
17 #include "StateTables.h"
18 #include "MorphTables.h"
19 #include "MorphStateTables.h"
23 struct ContextualGlyphInsertionHeader
: MorphStateTableHeader
27 struct ContextualGlyphInsertionHeader2
: MorphStateTableHeader2
29 le_uint32 insertionTableOffset
;
32 enum ContextualGlyphInsertionFlags
35 cgiDontAdvance
= 0x4000,
36 cgiCurrentIsKashidaLike
= 0x2000,
37 cgiMarkedIsKashidaLike
= 0x1000,
38 cgiCurrentInsertBefore
= 0x0800,
39 cgiMarkInsertBefore
= 0x0400,
40 cgiCurrentInsertCountMask
= 0x03E0,
41 cgiMarkedInsertCountMask
= 0x001F
44 struct ContextualGlyphInsertionStateEntry
: StateEntry
46 ByteOffset currentInsertionListOffset
;
47 ByteOffset markedInsertionListOffset
;
50 struct ContextualGlyphInsertionStateEntry2
: StateEntry2
52 le_uint16 currentInsertionListIndex
;
53 le_uint16 markedInsertionListIndex
;