3
* (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
7
#ifndef __CLASSDEFINITIONTABLES_H
8
#define __CLASSDEFINITIONTABLES_H
16
#include "OpenTypeTables.h"
20
struct ClassDefinitionTable
22
le_uint16 classFormat;
24
le_int32 getGlyphClass(LEGlyphID glyphID) const;
25
le_bool hasGlyphClass(le_int32 glyphClass) const;
28
struct ClassDefFormat1Table : ClassDefinitionTable
32
le_uint16 classValueArray[ANY_NUMBER];
34
le_int32 getGlyphClass(LEGlyphID glyphID) const;
35
le_bool hasGlyphClass(le_int32 glyphClass) const;
38
struct ClassRangeRecord
45
struct ClassDefFormat2Table : ClassDefinitionTable
47
le_uint16 classRangeCount;
48
GlyphRangeRecord classRangeRecordArray[ANY_NUMBER];
50
le_int32 getGlyphClass(LEGlyphID glyphID) const;
51
le_bool hasGlyphClass(le_int32 glyphClass) const;