diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-10 22:11:32 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-10 22:11:32 +0000 |
commit | bf56a5b19e6019b0f0b2bafe5388737da17f5224 (patch) | |
tree | b4802abbc53509bcffc659f3fbdd6da5827ecc77 /src/ft.h | |
parent | 9270294d7d5de0dcfb680596a3f8e51365062358 (diff) | |
download | ttf2f-bf56a5b19e6019b0f0b2bafe5388737da17f5224.tar.gz ttf2f-bf56a5b19e6019b0f0b2bafe5388737da17f5224.tar.bz2 |
Make proper use of conversion context
svn path=/trunk/tools/ttf2f/; revision=7457
Diffstat (limited to 'src/ft.h')
-rw-r--r-- | src/ft.h | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -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 |