3 * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
7 #ifndef __LIGATURESUBSTITUTIONSUBTABLES_H
8 #define __LIGATURESUBSTITUTIONSUBTABLES_H
16 #include "LEGlyphFilter.h"
17 #include "OpenTypeTables.h"
18 #include "GlyphSubstitutionTables.h"
19 #include "GlyphIterator.h"
23 struct LigatureSetTable
25 le_uint16 ligatureCount
;
26 Offset ligatureTableOffsetArray
[ANY_NUMBER
];
28 LE_VAR_ARRAY(LigatureSetTable
, ligatureTableOffsetArray
)
34 TTGlyphID componentArray
[ANY_NUMBER
];
36 LE_VAR_ARRAY(LigatureTable
, componentArray
)
38 struct LigatureSubstitutionSubtable
: GlyphSubstitutionSubtable
40 le_uint16 ligSetCount
;
41 Offset ligSetTableOffsetArray
[ANY_NUMBER
];
43 le_uint32
process(const LETableReference
&base
, GlyphIterator
*glyphIterator
, LEErrorCode
&success
, const LEGlyphFilter
*filter
= NULL
) const;
45 LE_VAR_ARRAY(LigatureSubstitutionSubtable
, ligSetTableOffsetArray
)