]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/layout/OpenTypeTables.h
ICU-57132.0.1.tar.gz
[apple/icu.git] / icuSources / layout / OpenTypeTables.h
index ea58b7f8818fa23eaef940bcd52cf45e26933029..17803291833c42d2bf1995f805b2579124b1cdb5 100644 (file)
@@ -1,7 +1,6 @@
 /*
- * @(#)OpenTypeTables.h        1.7 00/03/15
  *
- * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
+ * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
  *
  */
 
@@ -14,6 +13,7 @@
  */
 
 #include "LETypes.h"
+#include "LETableReference.h"
 
 U_NAMESPACE_BEGIN
 
@@ -23,12 +23,15 @@ typedef le_uint16 Offset;
 typedef le_uint8  ATag[4];
 typedef le_uint32 fixed32;
 
-#define SWAPT(atag) ((LETag) ((atag[0] << 24) + (atag[1] << 16) + (atag[2] << 8) + atag[3]))
+#define LE_GLYPH_GROUP_MASK 0x00000001UL
+typedef le_uint32 FeatureMask;
+
+#define SWAPT(atag) ((LETag) (((atag[0]) << 24) + ((atag[1]) << 16) + ((atag[2]) << 8) + (atag[3])))
 
 struct TagAndOffsetRecord
 {
-    ATag    tag;
-    Offset  offset;
+    ATag   tag;
+    Offset offset;
 };
 
 struct GlyphRangeRecord
@@ -38,5 +41,11 @@ struct GlyphRangeRecord
     le_int16  rangeValue;
 };
 
+struct FeatureMap
+{
+    LETag       tag;
+    FeatureMask mask;
+};
+
 U_NAMESPACE_END
 #endif