2 * (C) Copyright IBM Corp. 1998-2010 - All Rights Reserved
6 #ifndef __GLYPHSUBSTITUTIONLOOKUPPROCESSOR_H
7 #define __GLYPHSUBSTITUTIONLOOKUPPROCESSOR_H
15 #include "LEGlyphFilter.h"
16 #include "LEFontInstance.h"
17 #include "OpenTypeTables.h"
19 #include "ICUFeatures.h"
20 #include "GlyphDefinitionTables.h"
21 #include "GlyphSubstitutionTables.h"
22 #include "GlyphIterator.h"
23 #include "LookupProcessor.h"
27 class GlyphSubstitutionLookupProcessor
: public LookupProcessor
30 GlyphSubstitutionLookupProcessor(const GlyphSubstitutionTableHeader
*glyphSubstitutionTableHeader
,
33 const LEGlyphFilter
*filter
,
34 const FeatureMap
*featureMap
,
35 le_int32 featureMapCount
,
37 LEErrorCode
& success
);
39 virtual ~GlyphSubstitutionLookupProcessor();
41 virtual le_uint32
applySubtable(const LookupSubtable
*lookupSubtable
, le_uint16 lookupType
, GlyphIterator
*glyphIterator
,
42 const LEFontInstance
*fontInstance
, LEErrorCode
& success
) const;
45 GlyphSubstitutionLookupProcessor();
48 const LEGlyphFilter
*fFilter
;
50 GlyphSubstitutionLookupProcessor(const GlyphSubstitutionLookupProcessor
&other
); // forbid copying of this class
51 GlyphSubstitutionLookupProcessor
&operator=(const GlyphSubstitutionLookupProcessor
&other
); // forbid copying of this class