]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/layout/ContextualGlyphSubstitution.h
ICU-62135.0.1.tar.gz
[apple/icu.git] / icuSources / layout / ContextualGlyphSubstitution.h
index 72c23559db96aa76e5ac8d2df5db802458056f26..be3a00af667e1d486fac0cac8f6bcdaa002d4e03 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *
- * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
+ * (C) Copyright IBM Corp. and others 1998-2016 - All Rights Reserved
  *
  */
 
@@ -14,8 +14,9 @@
 
 #include "LETypes.h"
 #include "LayoutTables.h"
-#include "StateTables.h"
+#include "MorphStateTables.h"
 #include "MorphTables.h"
+#include "StateTables.h"
 
 U_NAMESPACE_BEGIN
 
@@ -24,6 +25,11 @@ struct ContextualGlyphSubstitutionHeader : MorphStateTableHeader
     ByteOffset  substitutionTableOffset;
 };
 
+struct ContextualGlyphHeader2 : MorphStateTableHeader2
+{
+    le_uint32  perGlyphTableOffset; // no more substitution tables
+};
+
 enum ContextualGlyphSubstitutionFlags
 {
     cgsSetMark      = 0x8000,
@@ -37,5 +43,11 @@ struct ContextualGlyphSubstitutionStateEntry : StateEntry
     WordOffset currOffset;
 };
 
+struct ContextualGlyphStateEntry2 : StateEntry2
+{
+    le_uint16 markIndex;
+    le_uint16 currIndex;
+};
+
 U_NAMESPACE_END
 #endif