]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/layout/ContextualGlyphInsertion.h
ICU-59180.0.1.tar.gz
[apple/icu.git] / icuSources / layout / ContextualGlyphInsertion.h
index ead88425ddc2a8a73f9eee602aa0026732fc729c..526273257b0230d97fc4f4469ac49f945f464c7f 100644 (file)
@@ -1,6 +1,6 @@
-/*
+/**
  *
- * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
+ * (C) Copyright IBM Corp. and Others 1998-2013 - All Rights Reserved
  *
  */
 
@@ -24,6 +24,11 @@ struct ContextualGlyphInsertionHeader : MorphStateTableHeader
 {
 };
 
+struct ContextualGlyphInsertionHeader2 : MorphStateTableHeader2
+{
+    le_uint32 insertionTableOffset;
+};
+
 enum ContextualGlyphInsertionFlags
 {
     cgiSetMark                  = 0x8000,
@@ -36,11 +41,17 @@ enum ContextualGlyphInsertionFlags
     cgiMarkedInsertCountMask    = 0x001F
 };
 
-struct LigatureSubstitutionStateEntry : StateEntry
+struct ContextualGlyphInsertionStateEntry : StateEntry
 {
     ByteOffset currentInsertionListOffset;
     ByteOffset markedInsertionListOffset;
 };
 
+struct ContextualGlyphInsertionStateEntry2 : StateEntry2
+{
+    le_uint16 currentInsertionListIndex;
+    le_uint16 markedInsertionListIndex;
+};
+
 U_NAMESPACE_END
 #endif