]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | /* |
b75a7d8f | 2 | * |
729e4ab9 | 3 | * (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved |
b75a7d8f A |
4 | * |
5 | */ | |
6 | ||
7 | #ifndef __GLYPHSUBSTITUTIONTABLES_H | |
8 | #define __GLYPHSUBSTITUTIONTABLES_H | |
9 | ||
10 | /** | |
11 | * \file | |
12 | * \internal | |
13 | */ | |
14 | ||
15 | #include "LETypes.h" | |
b75a7d8f A |
16 | #include "OpenTypeTables.h" |
17 | #include "Lookups.h" | |
374ca955 | 18 | #include "GlyphLookupTables.h" |
b75a7d8f A |
19 | |
20 | U_NAMESPACE_BEGIN | |
21 | ||
73c04bcf A |
22 | class LEGlyphStorage; |
23 | class LEGlyphFilter; | |
24 | struct GlyphDefinitionTableHeader; | |
b75a7d8f | 25 | |
374ca955 A |
26 | struct GlyphSubstitutionTableHeader : public GlyphLookupTableHeader |
27 | { | |
729e4ab9 A |
28 | le_int32 process(LEGlyphStorage &glyphStorage, |
29 | le_bool rightToLeft, | |
30 | LETag scriptTag, | |
31 | LETag languageTag, | |
32 | const GlyphDefinitionTableHeader *glyphDefinitionTableHeader, | |
33 | const LEGlyphFilter *filter, | |
34 | const FeatureMap *featureMap, | |
35 | le_int32 featureMapCount, | |
36 | le_bool featureOrder, | |
37 | LEErrorCode &success) const; | |
b75a7d8f A |
38 | }; |
39 | ||
40 | enum GlyphSubstitutionSubtableTypes | |
41 | { | |
42 | gsstSingle = 1, | |
43 | gsstMultiple = 2, | |
44 | gsstAlternate = 3, | |
45 | gsstLigature = 4, | |
46 | gsstContext = 5, | |
47 | gsstChainingContext = 6, | |
48 | gsstExtension = 7, | |
49 | gsstReverseChaining = 8 | |
50 | }; | |
51 | ||
52 | typedef LookupSubtable GlyphSubstitutionSubtable; | |
53 | ||
54 | U_NAMESPACE_END | |
55 | #endif |