Debian Codegraph @

texk/web2c/mfluadir/otfcc/lib/table/otl/subtables/chaining.h

raw
1 #ifndef CARYLL_TABLE_OTL_CHAINING_H
2 #define CARYLL_TABLE_OTL_CHAINING_H
3
4 #include "common.h"
5
6 // This file supports four formats
7 // GSUB contextual
8 // GSUB chaining
9 // GPOS contextual
10 // GPOS chaining
11
12 otl_Subtable *otl_read_chaining(const font_file_pointer data, uint32_t tableLength, uint32_t offset,
13 const glyphid_t maxGlyphs, const otfcc_Options *options);
14 otl_Subtable *otl_read_contextual(const font_file_pointer data, uint32_t tableLength,
15 uint32_t offset, const glyphid_t maxGlyphs,
16 const otfcc_Options *options);
17 json_value *otl_dump_chaining(const otl_Subtable *_subtable);
18 otl_Subtable *otl_parse_chaining(const json_value *_subtable, const otfcc_Options *options);
19 caryll_Buffer *otfcc_build_chaining(const otl_Subtable *_subtable);
20 caryll_Buffer *otfcc_build_contextual(const otl_Subtable *_subtable);
21
22 tableid_t otfcc_classifiedBuildChaining(const otl_Lookup *lookup,
23 OUT caryll_Buffer ***subtableBuffers,
24 MODIFY size_t *lastOffset);
25
26 bool otfcc_chainingLookupIsContextualLookup(const otl_Lookup *lookup);
27
28 #endif