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