X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fexample%2Fglyphshape.c;h=f2075e8ee01ba2fcca74ce7c2f3ff21ba6f242a9;hb=8afd28b43b6b918af083767cb827b1f88daf6040;hp=6d9f2f2d6ad70b2eb6641539a9b0db3451ce2aa4;hpb=aee9de2c6eb23628e54b6896f5b441d9b39317c1;p=swftools.git diff --git a/lib/example/glyphshape.c b/lib/example/glyphshape.c index 6d9f2f2..f2075e8 100644 --- a/lib/example/glyphshape.c +++ b/lib/example/glyphshape.c @@ -90,8 +90,8 @@ int main(int argc, char ** argv) FONTUSAGE use; SWFFONT * font = Font_Demo_Font(ID_FONT); // change font name here - swf_FontInitUsage(&use); - swf_FontUse(&use,s); + swf_FontInitUsage(font,&use); + swf_FontUse(font,&use,s); swf_FontReduce(font,&use); // make sure that gid's point to the specific glyphs memset(&swf,0x00,sizeof(SWF));