swf_FontUse now takes a SWFFONT as additional argument.
[swftools.git] / lib / example / text.c
index c346251..120e2a1 100644 (file)
@@ -76,7 +76,7 @@ int main(int argc, char ** argv)
       swf_FontAddLayout(font,0,0,0);
 
   swf_FontInitUsage(font,&use);
-  swf_FontUse(&use,BANNER_TEXT);        // SWF reduces font information to the used glyphs
+  swf_FontUse(font,&use,BANNER_TEXT);        // SWF reduces font information to the used glyphs
   swf_FontReduce(font,&use);  
     
   memset(&swf,0x00,sizeof(SWF));