summaryrefslogtreecommitdiff
path: root/src/ft.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-05-07 15:22:02 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-05-07 15:22:02 +0000
commita98d8fb5e49436c6fedea37797225293284b9894 (patch)
treef140662044f20668b937c9f3b451c56345678108 /src/ft.h
downloadttf2f-a98d8fb5e49436c6fedea37797225293284b9894.tar.gz
ttf2f-a98d8fb5e49436c6fedea37797225293284b9894.tar.bz2
Import TTF2f. Don't expect this to link; I've prevented it building main.c.
svn path=/trunk/tools/ttf2f/; revision=7427
Diffstat (limited to 'src/ft.h')
-rw-r--r--src/ft.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ft.h b/src/ft.h
new file mode 100644
index 0000000..eb9c9ad
--- /dev/null
+++ b/src/ft.h
@@ -0,0 +1,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
+