From: kramm Date: Thu, 13 Jun 2002 16:30:22 +0000 (+0000) Subject: bugfix: font glyph boundaries weren't stored. X-Git-Tag: release-0-4-0~25 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=b0b810eccb37070019e586d12adf14765c1cd354 bugfix: font glyph boundaries weren't stored. --- diff --git a/lib/modules/swftext.c b/lib/modules/swftext.c index 28ebc15..500d6c9 100644 --- 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;tlayout->bounds); + swf_GetRect(tag, &font->layout->bounds[t]); } kerningcount = swf_GetU16(tag);