3 * (C) Copyright IBM Corp. 1998-2013 - 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(const LEReferenceTo
<GlyphSubstitutionTableHeader
> &base
,
21 LEGlyphStorage
&glyphStorage
,
25 const LEReferenceTo
<GlyphDefinitionTableHeader
> &glyphDefinitionTableHeader
,
26 const LEGlyphFilter
*filter
,
27 const FeatureMap
*featureMap
,
28 le_int32 featureMapCount
,
30 LEErrorCode
&success
) const
32 if (LE_FAILURE(success
)) {
36 GlyphSubstitutionLookupProcessor
processor(base
, scriptTag
, languageTag
, filter
, featureMap
, featureMapCount
, featureOrder
, success
);
37 return processor
.process(glyphStorage
, NULL
, rightToLeft
, glyphDefinitionTableHeader
, NULL
, success
);