summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu-xetex/layout/ContextualGlyphSubstitution.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu-xetex/layout/ContextualGlyphSubstitution.h')
-rw-r--r--Build/source/libs/icu-xetex/layout/ContextualGlyphSubstitution.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/Build/source/libs/icu-xetex/layout/ContextualGlyphSubstitution.h b/Build/source/libs/icu-xetex/layout/ContextualGlyphSubstitution.h
new file mode 100644
index 00000000000..72c23559db9
--- /dev/null
+++ b/Build/source/libs/icu-xetex/layout/ContextualGlyphSubstitution.h
@@ -0,0 +1,41 @@
+/*
+ *
+ * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
+ *
+ */
+
+#ifndef __CONTEXTUALGLYPHSUBSTITUTION_H
+#define __CONTEXTUALGLYPHSUBSTITUTION_H
+
+/**
+ * \file
+ * \internal
+ */
+
+#include "LETypes.h"
+#include "LayoutTables.h"
+#include "StateTables.h"
+#include "MorphTables.h"
+
+U_NAMESPACE_BEGIN
+
+struct ContextualGlyphSubstitutionHeader : MorphStateTableHeader
+{
+ ByteOffset substitutionTableOffset;
+};
+
+enum ContextualGlyphSubstitutionFlags
+{
+ cgsSetMark = 0x8000,
+ cgsDontAdvance = 0x4000,
+ cgsReserved = 0x3FFF
+};
+
+struct ContextualGlyphSubstitutionStateEntry : StateEntry
+{
+ WordOffset markOffset;
+ WordOffset currOffset;
+};
+
+U_NAMESPACE_END
+#endif