]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | /* |
b75a7d8f | 2 | * |
57a6839d | 3 | * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved |
b75a7d8f A |
4 | * |
5 | */ | |
6 | ||
7 | #ifndef __LIGATURESUBSTITUTIONSUBTABLES_H | |
8 | #define __LIGATURESUBSTITUTIONSUBTABLES_H | |
9 | ||
10 | /** | |
11 | * \file | |
12 | * \internal | |
13 | */ | |
14 | ||
15 | #include "LETypes.h" | |
16 | #include "LEGlyphFilter.h" | |
17 | #include "OpenTypeTables.h" | |
18 | #include "GlyphSubstitutionTables.h" | |
19 | #include "GlyphIterator.h" | |
20 | ||
21 | U_NAMESPACE_BEGIN | |
22 | ||
23 | struct LigatureSetTable | |
24 | { | |
25 | le_uint16 ligatureCount; | |
26 | Offset ligatureTableOffsetArray[ANY_NUMBER]; | |
27 | }; | |
57a6839d | 28 | LE_VAR_ARRAY(LigatureSetTable, ligatureTableOffsetArray) |
b75a7d8f A |
29 | |
30 | struct LigatureTable | |
31 | { | |
32 | TTGlyphID ligGlyph; | |
33 | le_uint16 compCount; | |
34 | TTGlyphID componentArray[ANY_NUMBER]; | |
35 | }; | |
57a6839d | 36 | LE_VAR_ARRAY(LigatureTable, componentArray) |
b75a7d8f A |
37 | |
38 | struct LigatureSubstitutionSubtable : GlyphSubstitutionSubtable | |
39 | { | |
40 | le_uint16 ligSetCount; | |
41 | Offset ligSetTableOffsetArray[ANY_NUMBER]; | |
42 | ||
57a6839d | 43 | le_uint32 process(const LETableReference &base, GlyphIterator *glyphIterator, LEErrorCode &success, const LEGlyphFilter *filter = NULL) const; |
b75a7d8f | 44 | }; |
57a6839d | 45 | LE_VAR_ARRAY(LigatureSubstitutionSubtable, ligSetTableOffsetArray) |
b75a7d8f A |
46 | |
47 | U_NAMESPACE_END | |
48 | #endif |