git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3568c64
)
bugfix: font glyph boundaries weren't stored.
author
kramm
<kramm>
Thu, 13 Jun 2002 16:30:22 +0000
(16:30 +0000)
committer
kramm
<kramm>
Thu, 13 Jun 2002 16:30:22 +0000
(16:30 +0000)
lib/modules/swftext.c
patch
|
blob
|
history
diff --git
a/lib/modules/swftext.c
b/lib/modules/swftext.c
index
28ebc15
..
500d6c9
100644
(file)
--- a/
lib/modules/swftext.c
+++ b/
lib/modules/swftext.c
@@
-256,7
+256,7
@@
int swf_FontExtract_DefineFont2(int id,SWFFONT * font,TAG * tag)
font->layout->bounds = malloc(glyphcount*sizeof(SRECT));
for(t=0;t<glyphcount;t++) {
swf_ResetReadBits(tag);
- swf_GetRect(tag, font->layout->bounds);
+ swf_GetRect(tag, &font->layout->bounds[t]);
}
kerningcount = swf_GetU16(tag);