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