git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug in bbox.
[swftools.git]
/
lib
/
example
/
text.c
diff --git
a/lib/example/text.c
b/lib/example/text.c
index
9a18985
..
120e2a1
100644
(file)
--- a/
lib/example/text.c
+++ b/
lib/example/text.c
@@
-75,8
+75,8
@@
int main(int argc, char ** argv)
if(definefont2)
swf_FontAddLayout(font,0,0,0);
if(definefont2)
swf_FontAddLayout(font,0,0,0);
- swf_FontInitUsage(&use);
- swf_FontUse(&use,BANNER_TEXT); // SWF reduces font information to the used glyphs
+ swf_FontInitUsage(font,&use);
+ swf_FontUse(font,&use,BANNER_TEXT); // SWF reduces font information to the used glyphs
swf_FontReduce(font,&use);
memset(&swf,0x00,sizeof(SWF));
swf_FontReduce(font,&use);
memset(&swf,0x00,sizeof(SWF));