From bf56a5b19e6019b0f0b2bafe5388737da17f5224 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 10 May 2009 22:11:32 +0000 Subject: Make proper use of conversion context svn path=/trunk/tools/ttf2f/; revision=7457 --- src/ft.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/ft.h') diff --git a/src/ft.h b/src/ft.h index eb9c9ad..db3db19 100644 --- a/src/ft.h +++ b/src/ft.h @@ -6,15 +6,16 @@ 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); +void *open_font(char *fname); +void close_font(void *face); +size_t count_glyphs(void *face); +int glnames(void *face, struct glyph *glyph_list); +void glmetrics(void *face, struct glyph *glyph_list, + void (*callback)(int progress)); +int glenc(void *face, struct glyph *glyph_list); +int fnmetrics(void *face, struct font_metrics *fm); +void glpath(void *face, int glyphno, struct glyph *glyph_list); +void kerning(void *face, struct glyph *glyph_list); #endif -- cgit v1.2.3