2
* @(#)LigatureSubstProc.h 1.6 00/03/15
4
* (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved
8
#ifndef __LIGATURESUBSTITUTIONPROCESSOR_H
9
#define __LIGATURESUBSTITUTIONPROCESSOR_H
12
#include "MorphTables.h"
13
#include "SubtableProcessor.h"
14
#include "StateTableProcessor.h"
15
#include "LigatureSubstitution.h"
19
#define nComponents 16
21
class LigatureSubstitutionProcessor : public StateTableProcessor
24
virtual void beginStateTable();
26
virtual ByteOffset processStateEntry(LEGlyphID *glyphs, le_int32 *charIndices, le_int32 &currGlyph,
27
le_int32 glyphCount, EntryTableIndex index);
29
virtual void endStateTable();
31
LigatureSubstitutionProcessor(const MorphSubtableHeader *morphSubtableHeader);
32
virtual ~LigatureSubstitutionProcessor();
35
LigatureSubstitutionProcessor();
38
ByteOffset ligatureActionTableOffset;
39
ByteOffset componentTableOffset;
40
ByteOffset ligatureTableOffset;
42
const LigatureSubstitutionStateEntry *entryTable;
44
le_int32 componentStack[nComponents];
47
const LigatureSubstitutionHeader *ligatureSubstitutionHeader;