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

« back to all changes in this revision

Viewing changes to source/layout/SingleSubstitutionSubtables.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
 
 * @(#)SingleSubstitutionSubtables.h    1.6 00/03/15
3
 
 *
4
 
 * (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved
5
 
 *
6
 
 */
7
 
 
8
 
#ifndef __SINGLESUBSTITUTIONSUBTABLES_H
9
 
#define __SINGLESUBSTITUTIONSUBTABLES_H
10
 
 
11
 
#include "LETypes.h"
12
 
#include "LEGlyphFilter.h"
13
 
#include "OpenTypeTables.h"
14
 
#include "GlyphSubstitutionTables.h"
15
 
#include "GlyphIterator.h"
16
 
 
17
 
U_NAMESPACE_BEGIN
18
 
 
19
 
struct SingleSubstitutionSubtable : GlyphSubstitutionSubtable
20
 
{
21
 
    le_uint32  process(GlyphIterator *glyphIterator, const LEGlyphFilter *filter = NULL) const;
22
 
};
23
 
 
24
 
struct SingleSubstitutionFormat1Subtable : SingleSubstitutionSubtable
25
 
{
26
 
    le_int16   deltaGlyphID;
27
 
 
28
 
    le_uint32  process(GlyphIterator *glyphIterator, const LEGlyphFilter *filter = NULL) const;
29
 
};
30
 
 
31
 
struct SingleSubstitutionFormat2Subtable : SingleSubstitutionSubtable
32
 
{
33
 
    le_uint16  glyphCount;
34
 
    LEGlyphID  substituteArray[ANY_NUMBER];
35
 
 
36
 
    le_uint32  process(GlyphIterator *glyphIterator, const LEGlyphFilter *filter = NULL) const;
37
 
};
38
 
 
39
 
U_NAMESPACE_END
40
 
#endif
41
 
 
42