X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fgfxfont.h;h=a3e1acc16d410b40c18b21ffc8287a141814f7bb;hb=a9634f803811f39e67114955c3e9c30ae247a669;hp=695e965959ef2d6b88ec2d3e6b582716992447ef;hpb=4a504ad268d2f34fa715c1a02736b0db04e4613a;p=swftools.git diff --git a/lib/gfxfont.h b/lib/gfxfont.h index 695e965..a3e1acc 100644 --- a/lib/gfxfont.h +++ b/lib/gfxfont.h @@ -32,8 +32,12 @@ 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); +void gfxfont_add_unicode2glyph(gfxfont_t*font); #ifdef __cplusplus }