]> git.saurik.com Git - apple/icu.git/blob - icuSources/layout/GlyphSubstitutionTables.cpp
ICU-400.38.tar.gz
[apple/icu.git] / icuSources / layout / GlyphSubstitutionTables.cpp
1 /*
2 *
3 * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
4 *
5 */
6
7 #include "LETypes.h"
8 #include "LEGlyphFilter.h"
9 #include "OpenTypeTables.h"
10 #include "Lookups.h"
11 #include "GlyphDefinitionTables.h"
12 #include "GlyphSubstitutionTables.h"
13 #include "GlyphSubstLookupProc.h"
14 #include "ScriptAndLanguage.h"
15 #include "LEGlyphStorage.h"
16 #include "LESwaps.h"
17
18 U_NAMESPACE_BEGIN
19
20 le_int32 GlyphSubstitutionTableHeader::process(LEGlyphStorage &glyphStorage, le_bool rightToLeft, LETag scriptTag, LETag languageTag,
21 const GlyphDefinitionTableHeader *glyphDefinitionTableHeader,
22 const LEGlyphFilter *filter, const FeatureMap *featureMap, le_int32 featureMapCount, le_bool featureOrder) const
23 {
24 GlyphSubstitutionLookupProcessor processor(this, scriptTag, languageTag, filter, featureMap, featureMapCount, featureOrder);
25
26 return processor.process(glyphStorage, NULL, rightToLeft, glyphDefinitionTableHeader, NULL);
27 }
28
29 U_NAMESPACE_END