00001 /* 00002 * @(#)ContextualGlyphSubstitution.h 1.4 00/03/15 00003 * 00004 * (C) Copyright IBM Corp. 1998, 1999, 2000 - All Rights Reserved 00005 * 00006 */ 00007 00008 #ifndef __CONTEXTUALGLYPHSUBSTITUTION_H 00009 #define __CONTEXTUALGLYPHSUBSTITUTION_H 00010 00011 #include "LETypes.h" 00012 #include "LayoutTables.h" 00013 #include "StateTables.h" 00014 #include "MorphTables.h" 00015 00016 struct ContextualGlyphSubstitutionHeader : MorphStateTableHeader 00017 { 00018 ByteOffset substitutionTableOffset; 00019 }; 00020 00021 enum ContextualGlyphSubstitutionFlags 00022 { 00023 cgsSetMark = 0x8000, 00024 cgsDontAdvance = 0x4000, 00025 cgsReserved = 0x3FFF 00026 }; 00027 00028 struct ContextualGlyphSubstitutionStateEntry : StateEntry 00029 { 00030 WordOffset markOffset; 00031 WordOffset currOffset; 00032 }; 00033 00034 #endif