00001
00002
00003
00004
00005
00006
00007
00008 #ifndef __LIGATURESUBSTITUTION_H
00009 #define __LIGATURESUBSTITUTION_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 LigatureSubstitutionHeader : MorphStateTableHeader
00018 {
00019 ByteOffset ligatureActionTableOffset;
00020 ByteOffset componentTableOffset;
00021 ByteOffset ligatureTableOffset;
00022 };
00023
00024 enum LigatureSubstitutionFlags
00025 {
00026 lsfSetComponent = 0x8000,
00027 lsfDontAdvance = 0x4000,
00028 lsfActionOffsetMask = 0x3FFF
00029 };
00030
00031 struct LigatureSubstitutionStateEntry : StateEntry
00032 {
00033 };
00034
00035 typedef le_uint32 LigatureActionEntry;
00036
00037 enum LigatureActionFlags
00038 {
00039 lafLast = 0x80000000,
00040 lafStore = 0x40000000,
00041 lafComponentOffsetMask = 0x3FFFFFFF
00042 };
00043
00044 #endif