summaryrefslogtreecommitdiff
path: root/Build/source/libs
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs')
-rw-r--r--Build/source/libs/icu/icu-xetex/layout/ICUFeatures.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-xetex/layout/ICUFeatures.h b/Build/source/libs/icu/icu-xetex/layout/ICUFeatures.h
new file mode 100644
index 00000000000..2c5ee0d8aab
--- /dev/null
+++ b/Build/source/libs/icu/icu-xetex/layout/ICUFeatures.h
@@ -0,0 +1,44 @@
+/*
+ *
+ * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
+ *
+ */
+
+#ifndef __TLFEATURES_H
+#define __TLFEATURES_H
+
+/**
+ * \file
+ * \internal
+ */
+
+#include "LETypes.h"
+#include "OpenTypeTables.h"
+
+U_NAMESPACE_BEGIN
+
+struct FeatureRecord
+{
+ ATag featureTag;
+ Offset featureTableOffset;
+};
+
+struct FeatureTable
+{
+ Offset featureParamsOffset;
+ le_uint16 lookupCount;
+ le_uint16 lookupListIndexArray[ANY_NUMBER];
+};
+
+struct FeatureListTable
+{
+ le_uint16 featureCount;
+ FeatureRecord featureRecordArray[ANY_NUMBER];
+
+ const FeatureTable *getFeatureTable(le_uint16 featureIndex, LETag *featureTag) const;
+
+ const FeatureTable *getFeatureTable(LETag featureTag) const;
+};
+
+U_NAMESPACE_END
+#endif