os/textandloc/fontservices/textshaperplugin/IcuSource/layout/GlyphSubstLookupProc.h
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/textandloc/fontservices/textshaperplugin/IcuSource/layout/GlyphSubstLookupProc.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,51 @@
1.4 +/*
1.5 + * %W% %E%
1.6 + *
1.7 + * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
1.8 + *
1.9 + */
1.10 +
1.11 +#ifndef __GLYPHSUBSTITUTIONLOOKUPPROCESSOR_H
1.12 +#define __GLYPHSUBSTITUTIONLOOKUPPROCESSOR_H
1.13 +
1.14 +/**
1.15 + * \file
1.16 + * \internal
1.17 + */
1.18 +
1.19 +#include "LETypes.h"
1.20 +#include "LEGlyphFilter.h"
1.21 +#include "LEFontInstance.h"
1.22 +#include "OpenTypeTables.h"
1.23 +#include "Lookups.h"
1.24 +#include "Features.h"
1.25 +#include "GlyphDefinitionTables.h"
1.26 +#include "GlyphSubstitutionTables.h"
1.27 +#include "GlyphIterator.h"
1.28 +#include "LookupProcessor.h"
1.29 +
1.30 +U_NAMESPACE_BEGIN
1.31 +
1.32 +class GlyphSubstitutionLookupProcessor : public LookupProcessor
1.33 +{
1.34 +public:
1.35 + GlyphSubstitutionLookupProcessor(const GlyphSubstitutionTableHeader *glyphSubstitutionTableHeader,
1.36 + LETag scriptTag, LETag languageTag, const LEGlyphFilter *filter = NULL, const LETag *featureOrder = NULL);
1.37 +
1.38 + virtual ~GlyphSubstitutionLookupProcessor();
1.39 +
1.40 + virtual le_uint32 applySubtable(const LookupSubtable *lookupSubtable, le_uint16 lookupType, GlyphIterator *glyphIterator,
1.41 + const LEFontInstance *fontInstance, LEErrorCode& success) const;
1.42 +
1.43 +protected:
1.44 + GlyphSubstitutionLookupProcessor();
1.45 +
1.46 +private:
1.47 + const LEGlyphFilter *fFilter;
1.48 +
1.49 + GlyphSubstitutionLookupProcessor(const GlyphSubstitutionLookupProcessor &other); // forbid copying of this class
1.50 + GlyphSubstitutionLookupProcessor &operator=(const GlyphSubstitutionLookupProcessor &other); // forbid copying of this class
1.51 +};
1.52 +
1.53 +U_NAMESPACE_END
1.54 +#endif