]> git.saurik.com Git - apple/icu.git/blob - icuSources/layout/Features.h
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / layout / Features.h
1 /*
2 * @(#)Features.h 1.4 00/03/15
3 *
4 * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
5 *
6 */
7
8 #ifndef __FEATURES_H
9 #define __FEATURES_H
10
11 /**
12 * \file
13 * \internal
14 */
15
16 #include "LETypes.h"
17 #include "OpenTypeTables.h"
18
19 U_NAMESPACE_BEGIN
20
21 struct FeatureRecord
22 {
23 ATag featureTag;
24 Offset featureTableOffset;
25 };
26
27 struct FeatureTable
28 {
29 Offset featureParamsOffset;
30 le_uint16 lookupCount;
31 le_uint16 lookupListIndexArray[ANY_NUMBER];
32 };
33
34 struct FeatureListTable
35 {
36 le_uint16 featureCount;
37 FeatureRecord featureRecordArray[ANY_NUMBER];
38
39 const FeatureTable *getFeatureTable(le_uint16 featureIndex, LETag *featureTag) const;
40
41 const FeatureTable *getFeatureTable(LETag featureTag) const;
42 };
43
44 U_NAMESPACE_END
45 #endif