diff options
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 |