From: kramm Date: Sun, 16 May 2004 21:10:59 +0000 (+0000) Subject: added argument to initUsage. X-Git-Tag: release-0-6-0~210 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=d3f30350af5d5caafe7a21875bc33f6c75f8b2c9 added argument to initUsage. --- diff --git a/lib/example/glyphshape.c b/lib/example/glyphshape.c index 6d9f2f2..28f475d 100644 --- a/lib/example/glyphshape.c +++ b/lib/example/glyphshape.c @@ -90,7 +90,7 @@ int main(int argc, char ** argv) FONTUSAGE use; SWFFONT * font = Font_Demo_Font(ID_FONT); // change font name here - swf_FontInitUsage(&use); + swf_FontInitUsage(font,&use); swf_FontUse(&use,s); swf_FontReduce(font,&use); // make sure that gid's point to the specific glyphs 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);