diff options
Diffstat (limited to 'Build/source/texk/web2c/mfluadir/otfcc/include/otfcc/table/otl/coverage.h')
-rw-r--r-- | Build/source/texk/web2c/mfluadir/otfcc/include/otfcc/table/otl/coverage.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/mfluadir/otfcc/include/otfcc/table/otl/coverage.h b/Build/source/texk/web2c/mfluadir/otfcc/include/otfcc/table/otl/coverage.h new file mode 100644 index 00000000000..d3e9656431a --- /dev/null +++ b/Build/source/texk/web2c/mfluadir/otfcc/include/otfcc/table/otl/coverage.h @@ -0,0 +1,25 @@ +#ifndef CARYLL_INCLUDE_TABLE_OTL_COVERAGE_H +#define CARYLL_INCLUDE_TABLE_OTL_COVERAGE_H +#include "../table-common.h" + +typedef struct { + glyphid_t numGlyphs; + uint32_t capacity; + otfcc_GlyphHandle *glyphs; +} otl_Coverage; + +struct __otfcc_ICoverage { + caryll_RT(otl_Coverage); + void (*clear)(otl_Coverage *coverage, uint32_t n); + otl_Coverage *(*read)(const uint8_t *data, uint32_t tableLength, uint32_t offset); + json_value *(*dump)(const otl_Coverage *coverage); + otl_Coverage *(*parse)(const json_value *cov); + caryll_Buffer *(*build)(const otl_Coverage *coverage); + caryll_Buffer *(*buildFormat)(const otl_Coverage *coverage, uint16_t format); + void (*shrink)(otl_Coverage *coverage, bool dosort); + void (*push)(otl_Coverage *coverage, MOVE otfcc_GlyphHandle h); +}; + +extern const struct __otfcc_ICoverage otl_iCoverage; + +#endif |