diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-08 15:53:40 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-08 15:53:40 +0000 |
commit | d89b9a1074ff2b8f7f9227d6e10a95808ef30129 (patch) | |
tree | 40c27c6f6b049c727961f9af478ef235240b6027 /src/encoding.h | |
parent | 2594050ffbc13156615d42b76baa38a0de06a322 (diff) | |
download | ttf2f-d89b9a1074ff2b8f7f9227d6e10a95808ef30129.tar.gz ttf2f-d89b9a1074ff2b8f7f9227d6e10a95808ef30129.tar.bz2 |
API tidying
svn path=/trunk/tools/ttf2f/; revision=7445
Diffstat (limited to 'src/encoding.h')
-rw-r--r-- | src/encoding.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/encoding.h b/src/encoding.h index e99221e..49b4e29 100644 --- a/src/encoding.h +++ b/src/encoding.h @@ -3,10 +3,15 @@ #include "utils.h" +typedef enum encoding_type { + ENCODING_TYPE_NORMAL, + ENCODING_TYPE_SPARSE +} encoding_type; + struct glyph; -ttf2f_result write_encoding(const char *savein, const char *name, - struct glyph *glyph_list, int list_size, int type, +ttf2f_result encoding_write(const char *savein, const char *name, + struct glyph *glyph_list, int list_size, encoding_type type, void (*callback)(int progress)); #endif |