3 * (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved
8 #include "LEGlyphFilter.h"
9 #include "OpenTypeTables.h"
11 #include "GlyphDefinitionTables.h"
12 #include "GlyphSubstitutionTables.h"
13 #include "GlyphSubstLookupProc.h"
14 #include "ScriptAndLanguage.h"
15 #include "LEGlyphStorage.h"
20 le_int32
GlyphSubstitutionTableHeader::process(LEGlyphStorage
&glyphStorage
,
24 const GlyphDefinitionTableHeader
*glyphDefinitionTableHeader
,
25 const LEGlyphFilter
*filter
,
26 const FeatureMap
*featureMap
,
27 le_int32 featureMapCount
,
29 LEErrorCode
&success
) const
31 if (LE_FAILURE(success
)) {
35 GlyphSubstitutionLookupProcessor
processor(this, scriptTag
, languageTag
, filter
, featureMap
, featureMapCount
, featureOrder
, success
);
36 return processor
.process(glyphStorage
, NULL
, rightToLeft
, glyphDefinitionTableHeader
, NULL
, success
);