summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mfluadir/otfcc/lib/table/_TSI.h
blob: 3da7b6fdfa81d0c5b6e3d7c1c236dca06c55ed96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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