X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fexample%2Ftext.c;h=120e2a14314ff911066f96e3dafaf4923831e82d;hb=89bf852c497d296477ac788f00a06b11e5502fa9;hp=9a18985d19a59ff604f90366f1a5c41a565ddb26;hpb=aee9de2c6eb23628e54b6896f5b441d9b39317c1;p=swftools.git diff --git a/lib/example/text.c b/lib/example/text.c index 9a18985..120e2a1 100644 --- a/lib/example/text.c +++ b/lib/example/text.c @@ -75,8 +75,8 @@ int main(int argc, char ** argv) if(definefont2) swf_FontAddLayout(font,0,0,0); - swf_FontInitUsage(&use); - swf_FontUse(&use,BANNER_TEXT); // SWF reduces font information to the used glyphs + swf_FontInitUsage(font,&use); + swf_FontUse(font,&use,BANNER_TEXT); // SWF reduces font information to the used glyphs swf_FontReduce(font,&use); memset(&swf,0x00,sizeof(SWF));