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