]> git.saurik.com Git - apple/icu.git/blob - icuSources/layout/SubstitutionLookups.h
ICU-6.2.22.tar.gz
[apple/icu.git] / icuSources / layout / SubstitutionLookups.h
1 /*
2 *
3 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
4 *
5 */
6
7 #ifndef __SUBSTITUTIONLOOKUPS_H
8 #define __SUBSTITUTIONLOOKUPS_H
9
10 /**
11 * \file
12 * \internal
13 */
14
15 #include "LETypes.h"
16 #include "LEFontInstance.h"
17 #include "OpenTypeTables.h"
18 #include "GlyphSubstitutionTables.h"
19 #include "GlyphIterator.h"
20 #include "LookupProcessor.h"
21
22 U_NAMESPACE_BEGIN
23
24 struct SubstitutionLookupRecord
25 {
26 le_uint16 sequenceIndex;
27 le_uint16 lookupListIndex;
28 };
29
30 struct SubstitutionLookup
31 {
32 static void applySubstitutionLookups(
33 LookupProcessor *lookupProcessor,
34 SubstitutionLookupRecord *substLookupRecordArray,
35 le_uint16 substCount,
36 GlyphIterator *glyphIterator,
37 const LEFontInstance *fontInstance,
38 le_int32 position);
39 };
40
41 U_NAMESPACE_END
42 #endif
43