summaryrefslogtreecommitdiff
path: root/src/context.h
blob: 157f31c6668814d09b840a60156813dd58bbb648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef ttf2f_context_h_
#define ttf2f_context_h_

#include "fm.h"
#include "glyph.h"

typedef struct ttf2f_ctx ttf2f_ctx;

struct ttf2f_ctx {
	void *face;

	struct font_metrics *metrics;

	size_t nglyphs;
	struct glyph *glyphs;

	struct glyph *latin1tab[256];
	size_t nlatin1;
};

#endif