X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxfont.h;h=a553ea4de1195fa626041eba3c7f4e433d55eb28;hp=70583e802d8a548e9a1843e07b60fbc68c84a17b;hb=df99e9de2273822d54a2efa8d02a08e90181ede1;hpb=cce86d4b24360a411145935ab6375e324ebec1c1 diff --git a/lib/gfxfont.h b/lib/gfxfont.h index 70583e8..a553ea4 100644 --- a/lib/gfxfont.h +++ b/lib/gfxfont.h @@ -30,7 +30,12 @@ extern "C" { #endif -gfxfont_t* gfxfont_load(char*filename); +/* 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); +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); #ifdef __cplusplus