]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | /* |
b75a7d8f | 2 | * |
374ca955 | 3 | * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved |
b75a7d8f A |
4 | * |
5 | */ | |
6 | ||
7 | #ifndef __CONTEXTUALGLYPHSUBSTITUTION_H | |
8 | #define __CONTEXTUALGLYPHSUBSTITUTION_H | |
9 | ||
10 | /** | |
11 | * \file | |
12 | * \internal | |
13 | */ | |
14 | ||
15 | #include "LETypes.h" | |
16 | #include "LayoutTables.h" | |
17 | #include "StateTables.h" | |
18 | #include "MorphTables.h" | |
19 | ||
20 | U_NAMESPACE_BEGIN | |
21 | ||
22 | struct ContextualGlyphSubstitutionHeader : MorphStateTableHeader | |
23 | { | |
24 | ByteOffset substitutionTableOffset; | |
25 | }; | |
26 | ||
27 | enum ContextualGlyphSubstitutionFlags | |
28 | { | |
29 | cgsSetMark = 0x8000, | |
30 | cgsDontAdvance = 0x4000, | |
31 | cgsReserved = 0x3FFF | |
32 | }; | |
33 | ||
34 | struct ContextualGlyphSubstitutionStateEntry : StateEntry | |
35 | { | |
36 | WordOffset markOffset; | |
37 | WordOffset currOffset; | |
38 | }; | |
39 | ||
40 | U_NAMESPACE_END | |
41 | #endif |