os/textandloc/fontservices/textshaperplugin/IcuSource/layout/GlyphSubstLookupProc.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
/*
sl@0
     2
 * %W% %E%
sl@0
     3
 *
sl@0
     4
 * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
sl@0
     5
 *
sl@0
     6
 */
sl@0
     7
sl@0
     8
#ifndef __GLYPHSUBSTITUTIONLOOKUPPROCESSOR_H
sl@0
     9
#define __GLYPHSUBSTITUTIONLOOKUPPROCESSOR_H
sl@0
    10
sl@0
    11
/**
sl@0
    12
 * \file
sl@0
    13
 * \internal
sl@0
    14
 */
sl@0
    15
sl@0
    16
#include "LETypes.h"
sl@0
    17
#include "LEGlyphFilter.h"
sl@0
    18
#include "LEFontInstance.h"
sl@0
    19
#include "OpenTypeTables.h"
sl@0
    20
#include "Lookups.h"
sl@0
    21
#include "Features.h"
sl@0
    22
#include "GlyphDefinitionTables.h"
sl@0
    23
#include "GlyphSubstitutionTables.h"
sl@0
    24
#include "GlyphIterator.h"
sl@0
    25
#include "LookupProcessor.h"
sl@0
    26
sl@0
    27
U_NAMESPACE_BEGIN
sl@0
    28
sl@0
    29
class GlyphSubstitutionLookupProcessor : public LookupProcessor
sl@0
    30
{
sl@0
    31
public:
sl@0
    32
    GlyphSubstitutionLookupProcessor(const GlyphSubstitutionTableHeader *glyphSubstitutionTableHeader,
sl@0
    33
        LETag scriptTag, LETag languageTag, const LEGlyphFilter *filter = NULL, const LETag *featureOrder = NULL);
sl@0
    34
sl@0
    35
    virtual ~GlyphSubstitutionLookupProcessor();
sl@0
    36
sl@0
    37
    virtual le_uint32 applySubtable(const LookupSubtable *lookupSubtable, le_uint16 lookupType, GlyphIterator *glyphIterator,
sl@0
    38
        const LEFontInstance *fontInstance, LEErrorCode& success) const;
sl@0
    39
sl@0
    40
protected:
sl@0
    41
    GlyphSubstitutionLookupProcessor();
sl@0
    42
sl@0
    43
private:
sl@0
    44
    const LEGlyphFilter *fFilter;
sl@0
    45
sl@0
    46
    GlyphSubstitutionLookupProcessor(const GlyphSubstitutionLookupProcessor &other); // forbid copying of this class
sl@0
    47
    GlyphSubstitutionLookupProcessor &operator=(const GlyphSubstitutionLookupProcessor &other); // forbid copying of this class
sl@0
    48
};
sl@0
    49
sl@0
    50
U_NAMESPACE_END
sl@0
    51
#endif