]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/OpenTypeTables.h
ICU-6.2.16.tar.gz
[apple/icu.git] / icuSources / layout / OpenTypeTables.h
CommitLineData
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
17U_NAMESPACE_BEGIN
18
19#define ANY_NUMBER 1
20
21typedef le_uint16 Offset;
22typedef le_uint8 ATag[4];
23typedef le_uint32 fixed32;
24
25#define SWAPT(atag) ((LETag) ((atag[0] << 24) + (atag[1] << 16) + (atag[2] << 8) + atag[3]))
26
27struct TagAndOffsetRecord
28{
29 ATag tag;
30 Offset offset;
31};
32
33struct GlyphRangeRecord
34{
35 TTGlyphID firstGlyph;
36 TTGlyphID lastGlyph;
37 le_int16 rangeValue;
38};
39
40U_NAMESPACE_END
41#endif