]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/GlyphPositioningTables.h
ICU-461.12.tar.gz
[apple/icu.git] / icuSources / layout / GlyphPositioningTables.h
CommitLineData
b75a7d8f 1/*
729e4ab9 2 * (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved
b75a7d8f
A
3 *
4 */
5
6#ifndef __GLYPHPOSITIONINGTABLES_H
7#define __GLYPHPOSITIONINGTABLES_H
8
9/**
10 * \file
11 * \internal
12 */
13
14#include "LETypes.h"
b75a7d8f
A
15#include "OpenTypeTables.h"
16#include "Lookups.h"
374ca955 17#include "GlyphLookupTables.h"
b75a7d8f
A
18
19U_NAMESPACE_BEGIN
20
73c04bcf
A
21class LEFontInstance;
22class LEGlyphStorage;
23class LEGlyphFilter;
24class GlyphPositionAdjustments;
25struct GlyphDefinitionTableHeader;
b75a7d8f 26
374ca955
A
27struct GlyphPositioningTableHeader : public GlyphLookupTableHeader
28{
73c04bcf 29 void process(LEGlyphStorage &glyphStorage, GlyphPositionAdjustments *glyphPositionAdjustments,
b75a7d8f 30 le_bool rightToLeft, LETag scriptTag, LETag languageTag,
729e4ab9 31 const GlyphDefinitionTableHeader *glyphDefinitionTableHeader, LEErrorCode &success,
73c04bcf 32 const LEFontInstance *fontInstance, const FeatureMap *featureMap, le_int32 featureMapCount, le_bool featureOrder) const;
b75a7d8f
A
33};
34
35enum 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
48typedef LookupSubtable GlyphPositioningSubtable;
49
50U_NAMESPACE_END
51#endif