Open GoogleCodeExporter opened 9 years ago
I had the same problem but I found the solution :
You have to replace
cwAux += cw[content.charAt(l)] as Number;
by
cwAux = cw[content.charAt(l)] as Number;
on line 2878 in PDF.as
Original comment by couac...@gmail.com
on 10 Jul 2008 at 1:17
How do I do that if I am using the swc?
Original comment by smiling...@gmail.com
on 10 Jul 2008 at 3:40
Nevermind, I replaced the SWC with the source .as files and made the change and
it
still is doing the same thing.
Original comment by smiling...@gmail.com
on 10 Jul 2008 at 3:54
Hi guys,
Interesting, I will take a look at it and fix that for the next release.
Thanks for tracking.
cheers,
Thibault
Original comment by thibault.imbert
on 17 Jul 2008 at 5:35
The problem is in the getStringWidth function. The variable "w" is accumulating
the
cwAux value with each iteration. Problem was solved when I commented (as shown)
and
made assignment after loop.
if ( isNaN ( cwAux ) ) cwAux = 580;
//w += cwAux;
}
w=cwAux;
return w*fontSize/1000;
}
Original comment by Troy.hof...@pearson.com
on 28 Jul 2008 at 6:15
Thank you guys, I added this fix in the next release.
Thanks for tracking ;)
Thibault
Original comment by thibault.imbert
on 26 Sep 2008 at 10:16
Original issue reported on code.google.com by
smiling...@gmail.com
on 9 Jul 2008 at 9:42