]> git.saurik.com Git - apple/icu.git/blob - icuSources/layout/GlyphPositioningTables.h
ICU-6.2.9.tar.gz
[apple/icu.git] / icuSources / layout / GlyphPositioningTables.h
1 /*
2 *
3 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
4 *
5 */
6
7 #ifndef __GLYPHPOSITIONINGTABLES_H
8 #define __GLYPHPOSITIONINGTABLES_H
9
10 /**
11 * \file
12 * \internal
13 */
14
15 #include "LETypes.h"
16 #include "LEFontInstance.h"
17 #include "OpenTypeTables.h"
18 #include "Lookups.h"
19 #include "GlyphLookupTables.h"
20 #include "GlyphDefinitionTables.h"
21 #include "GlyphPositionAdjustments.h"
22
23 U_NAMESPACE_BEGIN
24
25 class LEGlyphStorage;
26
27 struct GlyphPositioningTableHeader : public GlyphLookupTableHeader
28 {
29 void process(LEGlyphStorage &glyphStorage, GlyphPositionAdjustment *glyphPositionAdjustments,
30 le_bool rightToLeft, LETag scriptTag, LETag languageTag,
31 const GlyphDefinitionTableHeader *glyphDefinitionTableHeader,
32 const LEFontInstance *fontInstance, const LETag *featureOrder) const;
33 };
34
35 enum GlyphPositioningSubtableTypes
36 {
37 gpstSingle = 1,
38 gpstPair = 2,
39 gpstCursive = 3,
40 gpstMarkToBase = 4,
41 gpstMarkToLigature = 5,
42 gpstMarkToMark = 6,
43 gpstContext = 7,
44 gpstChainedContext = 8,
45 gpstExtension = 9
46 };
47
48 typedef LookupSubtable GlyphPositioningSubtable;
49
50 U_NAMESPACE_END
51 #endif