summaryrefslogtreecommitdiff
path: root/src/outlines.h
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2009-05-08 12:07:22 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2009-05-08 12:07:22 +0000
commit2594050ffbc13156615d42b76baa38a0de06a322 (patch)
tree282096a9c51a664b5f8c884d03c546a275e98136 /src/outlines.h
parent36a451d571f6af0b220e7cc43c6eb278fce88135 (diff)
downloadttf2f-2594050ffbc13156615d42b76baa38a0de06a322.tar.gz
ttf2f-2594050ffbc13156615d42b76baa38a0de06a322.tar.bz2
Add some error handling and reporting
svn path=/trunk/tools/ttf2f/; revision=7441
Diffstat (limited to 'src/outlines.h')
-rw-r--r--src/outlines.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/outlines.h b/src/outlines.h
index 99a916b..51a6d1c 100644
--- a/src/outlines.h
+++ b/src/outlines.h
@@ -1,6 +1,8 @@
#ifndef _TTF2F_OUTLINES_H_
#define _TTF2F_OUTLINES_H_
+#include "utils.h"
+
struct chunk_data {
int chunk_table_offset;
int nchunks;
@@ -50,7 +52,7 @@ struct char_data {
struct glyph;
struct font_metrics;
-void write_outlines(const char *savein, const char *name,
+ttf2f_result write_outlines(const char *savein, const char *name,
struct glyph *glyph_list, int list_size,
struct font_metrics *metrics,
void (*callback)(int progress));