aboutsummaryrefslogtreecommitdiffstats
path: root/fbtruetype/ttf.h
blob: b5e3e55fcef5e206971dc540a3d88f5f7995767f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#define CACHED_METRICS  0x10
#define CACHED_BITMAP   0x01
#define CACHED_PIXMAP   0x02

#define TTF_STYLE_NORMAL        0x00
#define TTF_STYLE_BOLD          0x01
#define TTF_STYLE_ITALIC        0x02
#define TTF_STYLE_UNDERLINE     0x04

/* Handy routines for converting from fixed point */
#define FT_FLOOR(X)     ((X & -64) / 64)
#define FT_CEIL(X)      (((X + 63) & -64) / 64)

typedef struct _TTF_Font TTF_Font;

#define LUXISRI_SIZE 66372

extern char luxisri_ttf[LUXISRI_SIZE];