shithub: fnt

ref: f16c52c353075a9841a74c3d5cb4643448eb87fa
dir: /otfpriv.h.in/

View raw version
typedef struct Range Range;

struct Otf {
	Otfile *f;
	Range *r;
	u8int *buf;
	int bufsz;
	int off;

	/* extra fields to simplify parsing */
	TableDirectory td;
	TableRecord *glyf;
	TableRecord *ebdt;
OTF_EXTRA_FIELDS
};

struct Range {
	int start;
	int len;
	int prevoff;
	Range *par;
};