X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=db5a79e1ba20921d443e0d021dc28a6764e5f0dc;hb=53044fb8ca5eb3fded91eedc0d991c744ebacf98;hp=43d4b87f849448e01805ec5f7e4d393d28ffb481;hpb=89aec8e68bdc64f14c934c58397f64a79a64a86f;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 43d4b87..db5a79e 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -16,6 +16,8 @@ #include #include #include +#include +#include #include "../config.h" #define DEBUG_RFXSWF @@ -356,6 +358,9 @@ int swf_FontSetInfo(TAG * t,SWFFONT * f); int swf_FontExport(int handle,SWFFONT * f); int swf_FontImport(int handle,SWFFONT * * f); +void swf_WriteFont(SWFFONT* font, char* filename, int useDefineFont2); +SWFFONT* swf_ReadFont(char* filename); + void swf_FontFree(SWFFONT * f); U32 swf_TextGetWidth(SWFFONT * font,U8 * s,int scale);