X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxfont.h;h=0c18a568f02ce4411b251bb3ecf43b9f1cc3d45a;hp=f31d71fe7d97a1d4cd75e921864f2aaf53d882d6;hb=fc713269e9d26d1be92f70e1ff0d508c94a65dba;hpb=879464ce804e0c877db5f4b47fdbfee812f99731 diff --git a/lib/gfxfont.h b/lib/gfxfont.h index f31d71f..0c18a56 100644 --- a/lib/gfxfont.h +++ b/lib/gfxfont.h @@ -32,8 +32,9 @@ extern "C" { /* The quality parameter is given by 1 divided by the zoom factor at which the font still looks good. 1=normal, 0.5=double resolution etc. */ -gfxfont_t* gfxfont_load(char*id, char*filename, unsigned int flags, double quality); +gfxfont_t* gfxfont_load(const char*id, const char*filename, unsigned int flags, double quality); void gfxfont_save(gfxfont_t*font, const char*filename); +void gfxfont_save_eot(gfxfont_t*font, const char*filename); void gfxfont_fix_unicode(gfxfont_t*font); void gfxfont_free(gfxfont_t*font);