]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | /* |
b75a7d8f | 2 | * |
374ca955 | 3 | * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved |
b75a7d8f A |
4 | * |
5 | */ | |
6 | ||
7 | #ifndef __OPENTYPETABLES_H | |
8 | #define __OPENTYPETABLES_H | |
9 | ||
10 | /** | |
11 | * \file | |
12 | * \internal | |
13 | */ | |
14 | ||
15 | #include "LETypes.h" | |
16 | ||
17 | U_NAMESPACE_BEGIN | |
18 | ||
19 | #define ANY_NUMBER 1 | |
20 | ||
21 | typedef le_uint16 Offset; | |
22 | typedef le_uint8 ATag[4]; | |
23 | typedef le_uint32 fixed32; | |
24 | ||
25 | #define SWAPT(atag) ((LETag) ((atag[0] << 24) + (atag[1] << 16) + (atag[2] << 8) + atag[3])) | |
26 | ||
27 | struct TagAndOffsetRecord | |
28 | { | |
29 | ATag tag; | |
30 | Offset offset; | |
31 | }; | |
32 | ||
33 | struct GlyphRangeRecord | |
34 | { | |
35 | TTGlyphID firstGlyph; | |
36 | TTGlyphID lastGlyph; | |
37 | le_int16 rangeValue; | |
38 | }; | |
39 | ||
40 | U_NAMESPACE_END | |
41 | #endif |