]> git.saurik.com Git - apple/icu.git/blob - icuSources/layout/GlyphSubstitutionTables.cpp
ICU-6.2.9.tar.gz
[apple/icu.git] / icuSources / layout / GlyphSubstitutionTables.cpp
1 /*
2 *
3 * (C) Copyright IBM Corp. 1998-2004 - 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 "GlyphPositionAdjustments.h"
13 #include "GlyphSubstitutionTables.h"
14 #include "GlyphSubstLookupProc.h"
15 #include "ScriptAndLanguage.h"
16 #include "LEGlyphStorage.h"
17 #include "LESwaps.h"
18
19 U_NAMESPACE_BEGIN
20
21 le_int32 GlyphSubstitutionTableHeader::process(LEGlyphStorage &glyphStorage, le_bool rightToLeft, LETag scriptTag, LETag languageTag,
22 const GlyphDefinitionTableHeader *glyphDefinitionTableHeader,
23 const LEGlyphFilter *filter, const LETag *featureOrder) const
24 {
25 GlyphSubstitutionLookupProcessor processor(this, scriptTag, languageTag, filter, featureOrder);
26
27 return processor.process(glyphStorage, NULL, rightToLeft, glyphDefinitionTableHeader, NULL);
28 }
29
30 U_NAMESPACE_END