]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/SubstitutionLookups.h
ICU-59180.0.1.tar.gz
[apple/icu.git] / icuSources / layout / SubstitutionLookups.h
CommitLineData
b75a7d8f 1/*
b75a7d8f 2 *
729e4ab9 3 * (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved
b75a7d8f
A
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
22U_NAMESPACE_BEGIN
23
24struct SubstitutionLookupRecord
25{
26 le_uint16 sequenceIndex;
27 le_uint16 lookupListIndex;
28};
29
30struct SubstitutionLookup
31{
32 static void applySubstitutionLookups(
33 LookupProcessor *lookupProcessor,
34 SubstitutionLookupRecord *substLookupRecordArray,
35 le_uint16 substCount,
36 GlyphIterator *glyphIterator,
37 const LEFontInstance *fontInstance,
729e4ab9
A
38 le_int32 position,
39 LEErrorCode& success);
b75a7d8f
A
40};
41
42U_NAMESPACE_END
43#endif
44