swf_FontUse takes now also a font as argument.
authorkramm <kramm>
Fri, 28 May 2004 08:45:49 +0000 (08:45 +0000)
committerkramm <kramm>
Fri, 28 May 2004 08:45:49 +0000 (08:45 +0000)
lib/example/glyphshape.c

index 28f475d..f2075e8 100644 (file)
@@ -91,7 +91,7 @@ int main(int argc, char ** argv)
   SWFFONT * font = Font_Demo_Font(ID_FONT); // change font name here\r
 \r
   swf_FontInitUsage(font,&use);\r
-  swf_FontUse(&use,s);        \r
+  swf_FontUse(font,&use,s);        \r
   swf_FontReduce(font,&use);            // make sure that gid's point to the specific glyphs\r
   \r
   memset(&swf,0x00,sizeof(SWF));\r