00001
00002
00003
00004
00005
00006
00007
00008 #ifndef __CONTEXTUALGLYPHINSERTION_H
00009 #define __CONTEXTUALGLYPHINSERTION_H
00010
00011 #include "LETypes.h"
00012 #include "LayoutTables.h"
00013 #include "StateTables.h"
00014 #include "MorphTables.h"
00015 #include "MorphStateTables.h"
00016
00017 struct ContextualGlyphInsertionHeader : MorphStateTableHeader
00018 {
00019 };
00020
00021 enum ContextualGlyphInsertionFlags
00022 {
00023 cgiSetMark = 0x8000,
00024 cgiDontAdvance = 0x4000,
00025 cgiCurrentIsKashidaLike = 0x2000,
00026 cgiMarkedIsKashidaLike = 0x1000,
00027 cgiCurrentInsertBefore = 0x0800,
00028 cgiMarkInsertBefore = 0x0400,
00029 cgiCurrentInsertCountMask = 0x03E0,
00030 cgiMarkedInsertCountMask = 0x001F
00031 };
00032
00033 struct LigatureSubstitutionStateEntry : StateEntry
00034 {
00035 ByteOffset currentInsertionListOffset;
00036 ByteOffset markedInsertionListOffset;
00037 };
00038
00039 #endif