~ubuntu-branches/ubuntu/gutsy/icu/gutsy-updates

« back to all changes in this revision

Viewing changes to source/layout/LigatureSubstProc.h

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2005-11-19 11:29:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20051119112931-vcizkrp10tli4enw
Tags: 3.4-3
Explicitly build with g++ 3.4.  The current ICU fails its test suite
with 4.0 but not with 3.4.  Future versions should work properly with
4.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * @(#)LigatureSubstProc.h      1.6 00/03/15
3
 
 *
4
 
 * (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved
5
 
 *
6
 
 */
7
 
 
8
 
#ifndef __LIGATURESUBSTITUTIONPROCESSOR_H
9
 
#define __LIGATURESUBSTITUTIONPROCESSOR_H
10
 
 
11
 
#include "LETypes.h"
12
 
#include "MorphTables.h"
13
 
#include "SubtableProcessor.h"
14
 
#include "StateTableProcessor.h"
15
 
#include "LigatureSubstitution.h"
16
 
 
17
 
U_NAMESPACE_BEGIN
18
 
 
19
 
#define nComponents 16
20
 
 
21
 
class LigatureSubstitutionProcessor : public StateTableProcessor
22
 
{
23
 
public:
24
 
    virtual void beginStateTable();
25
 
 
26
 
    virtual ByteOffset processStateEntry(LEGlyphID *glyphs, le_int32 *charIndices, le_int32 &currGlyph,
27
 
        le_int32 glyphCount, EntryTableIndex index);
28
 
 
29
 
    virtual void endStateTable();
30
 
 
31
 
    LigatureSubstitutionProcessor(const MorphSubtableHeader *morphSubtableHeader);
32
 
    virtual ~LigatureSubstitutionProcessor();
33
 
 
34
 
private:
35
 
    LigatureSubstitutionProcessor();
36
 
 
37
 
protected:
38
 
    ByteOffset ligatureActionTableOffset;
39
 
    ByteOffset componentTableOffset;
40
 
    ByteOffset ligatureTableOffset;
41
 
 
42
 
    const LigatureSubstitutionStateEntry *entryTable;
43
 
 
44
 
    le_int32 componentStack[nComponents];
45
 
    le_int16 m;
46
 
 
47
 
    const LigatureSubstitutionHeader *ligatureSubstitutionHeader;
48
 
};
49
 
 
50
 
U_NAMESPACE_END
51
 
#endif