FONTUSAGE use;\r
SWFFONT * font = Font_Demo_Font(ID_FONT); // change font name here\r
\r
- swf_FontInitUsage(&use);\r
+ swf_FontInitUsage(font,&use);\r
swf_FontUse(&use,s); \r
swf_FontReduce(font,&use); // make sure that gid's point to the specific glyphs\r
\r
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);