summaryrefslogtreecommitdiff
path: root/src/fm.h
blob: f8e024e038618bbc26b74c71a3dede16ce94bd8e (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 _TTF2F_FM_H_
#define _TTF2F_FM_H_

struct font_metrics {
	/* post */
	double italic_angle;
	short underline_position;
	short underline_thickness;
	short is_fixed_pitch;

	/* hhea */
	short ascender; 
	short descender;

	/* head */
	unsigned short units_per_em;
	short bbox[4];

	/* name */
	char *name_copyright;
	char *name_family;
	char *name_style;
	char *name_full;
	char *name_version;
	char *name_ps;

	/* other */
	int force_bold;
};

#endif