~ubuntu-branches/ubuntu/quantal/icu/quantal

« back to all changes in this revision

Viewing changes to source/layout/OpenTypeTables.h

  • Committer: Package Import Robot
  • Author(s): Yves Arrouye
  • Date: 2002-03-03 15:31:13 UTC
  • Revision ID: package-import@ubuntu.com-20020303153113-3ssceqlq45xbmbnc
Tags: upstream-2.0-2.1pre20020303
ImportĀ upstreamĀ versionĀ 2.0-2.1pre20020303

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * @(#)OpenTypeTables.h 1.7 00/03/15
 
3
 *
 
4
 * (C) Copyright IBM Corp. 1998, 1999, 2000 - All Rights Reserved
 
5
 *
 
6
 */
 
7
 
 
8
#ifndef __OPENTYPETABLES_H
 
9
#define __OPENTYPETABLES_H
 
10
 
 
11
#include "LETypes.h"
 
12
 
 
13
U_NAMESPACE_BEGIN
 
14
 
 
15
#define ANY_NUMBER 1
 
16
 
 
17
typedef le_uint16 Offset;
 
18
typedef le_uint8  ATag[4];
 
19
typedef le_uint32 fixed32;
 
20
 
 
21
#define SWAPT(atag) ((LETag) ((atag[0] << 24) + (atag[1] << 16) + (atag[2] << 8) + atag[3]))
 
22
 
 
23
struct TagAndOffsetRecord
 
24
{
 
25
    ATag    tag;
 
26
    Offset  offset;
 
27
};
 
28
 
 
29
struct GlyphRangeRecord
 
30
{
 
31
    LEGlyphID firstGlyph;
 
32
    LEGlyphID lastGlyph;
 
33
    le_int16  rangeValue;
 
34
};
 
35
 
 
36
U_NAMESPACE_END
 
37
#endif