| 1 |
#ifndef CARYLL_TABLE_TSI_H |
| 2 |
#define CARYLL_TABLE_TSI_H |
| 3 |
|
| 4 |
#include "otfcc/table/_TSI.h" |
| 5 |
|
| 6 |
table_TSI *otfcc_readTSI(const otfcc_Packet packet, const otfcc_Options *options, uint32_t tagIndex, uint32_t tagText); |
| 7 |
void otfcc_dumpTSI(const table_TSI *table, json_value *root, const otfcc_Options *options, const char *tag); |
| 8 |
table_TSI *otfcc_parseTSI(const json_value *root, const otfcc_Options *options, const char *tag); |
| 9 |
|
| 10 |
// TSI tables has two parts: an Index part and a Text part, so we need a struct. |
| 11 |
typedef struct { |
| 12 |
caryll_Buffer *indexPart; |
| 13 |
caryll_Buffer *textPart; |
| 14 |
} tsi_BuildTarget; |
| 15 |
|
| 16 |
tsi_BuildTarget otfcc_buildTSI(const table_TSI *TSI, const otfcc_Options *options); |
| 17 |
|
| 18 |
#endif |