- From: Peter Sorotokin <psorotok@adobe.com>
- Date: Wed, 12 Jan 2005 09:52:00 -0800
- To: Bjoern Hoehrmann <derhoermi@gmx.net>, Thomas DeWeese <Thomas.DeWeese@Kodak.com>
- Cc: www-svg@w3.org
At 10:33 AM 1/12/2005 +0100, Bjoern Hoehrmann wrote: >[snip] > > I'd be curious how you came to this conclusion, because I just > >checked Batik and ASV and both of them behave this way (getBBox works > >on text that has been dynamically created and inserted into the > >document, before any rendering has happened). In my mind this is the > >only reasonable solution. > >With Adobe SVG Viewer 6.0 Build 38363 the following > > <svg > xmlns = "http://www.w3.org/2000/svg" > version = "1.2" > > > <text y = '100' font-size='50'> > <tspan onload="alert(evt.target.getComputedTextLength())" > >Scalable Vector Graphics</tspan> > </text> > </svg> > >does not work reliably, especially when re-loading the document, most >of the time a computed text length of 0 will be reported. Sometimes an >accurate length is reported though, so maybe you've hit some kind of >race condition. Adobe SVG Viewer 3.0x is subject to the same problem as >far as I can tell. This is certainly a bug. It should report correct length. >[snip] >-- >Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de >Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de >68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Wednesday, 12 January 2005 17:52:13 UTC