author | sl |
Tue, 10 Jun 2014 14:32:02 +0200 | |
changeset 1 | 260cb5ec6c19 |
permissions | -rw-r--r-- |
1 /*
2 *
3 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
4 *
5 */
7 #ifndef __FEATURES_H
8 #define __FEATURES_H
10 /**
11 * \file
12 * \internal
13 */
15 #include "LETypes.h"
16 #include "OpenTypeTables.h"
18 U_NAMESPACE_BEGIN
20 struct FeatureRecord
21 {
22 ATag featureTag;
23 Offset featureTableOffset;
24 };
26 struct FeatureTable
27 {
28 Offset featureParamsOffset;
29 le_uint16 lookupCount;
30 le_uint16 lookupListIndexArray[ANY_NUMBER];
31 };
33 struct FeatureListTable
34 {
35 le_uint16 featureCount;
36 FeatureRecord featureRecordArray[ANY_NUMBER];
38 const FeatureTable *getFeatureTable(le_uint16 featureIndex, LETag *featureTag) const;
40 const FeatureTable *getFeatureTable(LETag featureTag) const;
41 };
43 U_NAMESPACE_END
44 #endif