summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mfluadir/otfcc/include/otfcc/table/GDEF.h
blob: aba93c7eeb6dc0d69030dd4dd96ccd400c9f7789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef CARYLL_INCLUDE_TABLE_GEDF_H
#define CARYLL_INCLUDE_TABLE_GEDF_H

#include "otl.h"

typedef struct {
	int8_t format;
	pos_t coordiante;
	int16_t pointIndex;
} otl_CaretValue;
extern caryll_ElementInterface(otl_CaretValue) otl_iCaretValue;
typedef caryll_Vector(otl_CaretValue) otl_CaretValueList;
extern caryll_VectorInterface(otl_CaretValueList, otl_CaretValue) otl_iCaretValueList;

typedef struct {
	otfcc_GlyphHandle glyph;
	OWNING otl_CaretValueList carets;
} otl_CaretValueRecord;
extern caryll_ElementInterface(otl_CaretValueRecord) otl_iCaretValueRecord;
typedef caryll_Vector(otl_CaretValueRecord) otl_LigCaretTable;
extern caryll_VectorInterface(otl_LigCaretTable, otl_CaretValueRecord) otl_iLigCaretTable;

typedef struct {
	OWNING otl_ClassDef *glyphClassDef;
	OWNING otl_ClassDef *markAttachClassDef;
	OWNING otl_LigCaretTable ligCarets;
} table_GDEF;

extern caryll_RefElementInterface(table_GDEF) table_iGDEF;

#endif