summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mfluadir/otfcc/lib/table/_TSI.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/mfluadir/otfcc/lib/table/_TSI.h')
-rw-r--r--Build/source/texk/web2c/mfluadir/otfcc/lib/table/_TSI.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/mfluadir/otfcc/lib/table/_TSI.h b/Build/source/texk/web2c/mfluadir/otfcc/lib/table/_TSI.h
new file mode 100644
index 00000000000..3da7b6fdfa8
--- /dev/null
+++ b/Build/source/texk/web2c/mfluadir/otfcc/lib/table/_TSI.h
@@ -0,0 +1,18 @@
+#ifndef CARYLL_TABLE_TSI_H
+#define CARYLL_TABLE_TSI_H
+
+#include "otfcc/table/_TSI.h"
+
+table_TSI *otfcc_readTSI(const otfcc_Packet packet, const otfcc_Options *options, uint32_t tagIndex, uint32_t tagText);
+void otfcc_dumpTSI(const table_TSI *table, json_value *root, const otfcc_Options *options, const char *tag);
+table_TSI *otfcc_parseTSI(const json_value *root, const otfcc_Options *options, const char *tag);
+
+// TSI tables has two parts: an Index part and a Text part, so we need a struct.
+typedef struct {
+ caryll_Buffer *indexPart;
+ caryll_Buffer *textPart;
+} tsi_BuildTarget;
+
+tsi_BuildTarget otfcc_buildTSI(const table_TSI *TSI, const otfcc_Options *options);
+
+#endif