]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/CoverageTables.h
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / layout / CoverageTables.h
CommitLineData
b75a7d8f
A
1/*
2 * @(#)CoverageTables.h 1.4 00/03/15
3 *
4 * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
5 *
6 */
7
8#ifndef __COVERAGETABLES_H
9#define __COVERAGETABLES_H
10
11/**
12 * \file
13 * \internal
14 */
15
16#include "LETypes.h"
17#include "OpenTypeTables.h"
18
19U_NAMESPACE_BEGIN
20
21struct CoverageTable
22{
23 le_uint16 coverageFormat;
24
25 le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
26};
27
28struct CoverageFormat1Table : CoverageTable
29{
30 le_uint16 glyphCount;
31 TTGlyphID glyphArray[ANY_NUMBER];
32
33 le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
34};
35
36struct CoverageFormat2Table : CoverageTable
37{
38 le_uint16 rangeCount;
39 GlyphRangeRecord rangeRecordArray[ANY_NUMBER];
40
41 le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
42};
43
44U_NAMESPACE_END
45#endif