2 * @(#)GlyphDefinitionTables.h 1.5 00/03/15
4 * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
8 #ifndef __GLYPHDEFINITIONTABLES_H
9 #define __GLYPHDEFINITIONTABLES_H
17 #include "OpenTypeTables.h"
18 #include "ClassDefinitionTables.h"
22 typedef ClassDefinitionTable GlyphClassDefinitionTable
;
24 enum GlyphClassDefinitions
33 struct AttachmentListTable
35 Offset coverageTableOffset
;
37 Offset attachPointTableOffsetArray
[ANY_NUMBER
];
40 struct AttachPointTable
43 le_uint16 pointIndexArray
[ANY_NUMBER
];
46 struct LigatureCaretListTable
48 Offset coverageTableOffset
;
49 le_uint16 ligGlyphCount
;
50 Offset ligGlyphTableOffsetArray
[ANY_NUMBER
];
53 struct LigatureGlyphTable
56 Offset caretValueTableOffsetArray
[ANY_NUMBER
];
59 struct CaretValueTable
61 le_uint16 caretValueFormat
;
64 struct CaretValueFormat1Table
: CaretValueTable
69 struct CaretValueFormat2Table
: CaretValueTable
71 le_uint16 caretValuePoint
;
74 struct CaretValueFormat3Table
: CaretValueTable
77 Offset deviceTableOffset
;
80 typedef ClassDefinitionTable MarkAttachClassDefinitionTable
;
82 struct GlyphDefinitionTableHeader
85 Offset glyphClassDefOffset
;
86 Offset attachListOffset
;
87 Offset ligCaretListOffset
;
88 Offset MarkAttachClassDefOffset
;
90 const GlyphClassDefinitionTable
*getGlyphClassDefinitionTable() const;
91 const AttachmentListTable
*getAttachmentListTable()const ;
92 const LigatureCaretListTable
*getLigatureCaretListTable() const;
93 const MarkAttachClassDefinitionTable
*getMarkAttachClassDefinitionTable() const;