3 * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
7 #ifndef __ALTERNATESUBSTITUTIONSUBTABLES_H
8 #define __ALTERNATESUBSTITUTIONSUBTABLES_H
16 #include "LEGlyphFilter.h"
17 #include "OpenTypeTables.h"
18 #include "GlyphSubstitutionTables.h"
19 #include "GlyphIterator.h"
23 struct AlternateSetTable
26 TTGlyphID alternateArray[ANY_NUMBER];
29 LE_VAR_ARRAY(AlternateSetTable, alternateArray)
31 struct AlternateSubstitutionSubtable : GlyphSubstitutionSubtable
33 le_uint16 alternateSetCount;
34 Offset alternateSetTableOffsetArray[ANY_NUMBER];
36 le_uint32 process(const LEReferenceTo<AlternateSubstitutionSubtable> &base, GlyphIterator *glyphIterator, LEErrorCode &success, const LEGlyphFilter *filter = NULL) const;
39 LE_VAR_ARRAY(AlternateSubstitutionSubtable, alternateSetTableOffsetArray)