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

struct font_metrics;
struct glyph;

void ft_init(void);
void ft_fini(void);
int open_font(char *fname);
void close_font(void);
int count_glyphs(void);
int glnames(struct glyph *glyph_list);
void glmetrics(struct glyph *glyph_list, void (*callback)(int progress));
int glenc(struct glyph *glyph_list);
int fnmetrics(struct font_metrics *fm);
void glpath(int glyphno, struct glyph *glyph_list);
void kerning(struct glyph *glyph_list);

#endif