aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/fontsrv/a.h
blob: 0781fbab5abee3b54560adbb86bc3d1d11374010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
typedef struct XFont XFont;
XFont *xfont;
int nxfont;

struct XFont
{
	char *name;
	int loaded;
	uchar range[256];	// range[i] == whether to have subfont i<<8 to (i+1)<<8.
	int nrange;
	int unit;
	double height;
	double originy;
};

void	loadfonts(void);
void	load(XFont*);
Memsubfont*	mksubfont(char*, int, int, int, int);

extern XFont *xfont;
extern int nxfont;
void *emalloc9p(ulong);
extern Memsubfont *defont;