Closed GoogleCodeExporter closed 9 years ago
one problem why word wrapping sometimes fails is that the method
getExtentOfChar(index) of tspan elements does not work reliably. it ignores
leading
and trailing whitespaces and replaces several intermediate whitespaces with one
whitespace. therefore, it is hard not to use an invalid index. probably other
methods
of that element have the same bug.
Original comment by NicoPete...@gmail.com
on 21 Sep 2008 at 3:38
the same problem occurs with getSubStringLength(startIndex, endIndex) when
starting
the string with a whitespace and ending the string with a whitespace, as well
as when
having more than one whitespace at the beginning or the end of the string.
Original comment by NicoPete...@gmail.com
on 21 Sep 2008 at 3:54
rev1176
Original comment by NicoPete...@gmail.com
on 10 Oct 2008 at 7:01
Original comment by NicoPete...@gmail.com
on 20 Oct 2008 at 6:55
Original comment by NicoPete...@gmail.com
on 22 Oct 2008 at 6:32
Original issue reported on code.google.com by
NicoPete...@gmail.com
on 1 Sep 2008 at 10:31