X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;fp=lib%2Frfxswf.h;h=0baf61e093377659477a0b0c3d652e4e9660d7c2;hb=4e514da68a127743aaa789f00145037f04179306;hp=8c102c92f0a404cc39e1769f0c0d4905fcf5d971;hpb=7c3e2529e63ade24a3878a86569e771721379dd3;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 8c102c9..0baf61e 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -535,6 +535,7 @@ typedef struct _FONTUSAGE char is_reduced; int used_glyphs; int glyphs_specified; + U16 smallest_size; } FONTUSAGE; #define FONT_STYLE_BOLD 1 @@ -629,9 +630,9 @@ int swf_FontReduce(SWFFONT * f); int swf_FontReduce_swfc(SWFFONT * f); int swf_FontInitUsage(SWFFONT * f); -int swf_FontUseGlyph(SWFFONT * f, int glyph); +int swf_FontUseGlyph(SWFFONT * f, int glyph, U16 size); int swf_FontUseAll(SWFFONT* f); -int swf_FontUseUTF8(SWFFONT * f, U8 * s); +int swf_FontUseUTF8(SWFFONT * f, U8 * s, U16 size); int swf_FontUse(SWFFONT* f,U8 * s); int swf_FontSetDefine(TAG * t,SWFFONT * f);