shithub: fnt

ref: 3582b9cc27bf2a83800c00b4a84873037e99642d
dir: /plan9/otfpriv.h/

View raw version
#line 1 "otfpriv.h.in"
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;
	s16int indexToLocFormat;
	u16int numberOfHMetrics;
	s16int numberOfContours;
	u16int numGlyphs;
	u16int platformID;
	u16int encodingID;
	u16int storageOffset;
	u16int firstGlyphIndex;
	u16int lastGlyphIndex;
	u16int class2Count;
	u16int axisCount;
	u16int instanceCount;
	u16int instanceSize;
	u16int designAxisSize;
	u16int designAxisCount;
	u16int axisValueCount;
#line 15"otfpriv.h.in"
};

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