> I am unable to get the bbox from text node in javascript function call at > onload of svg element.
Using a onload event hander the SVG should work: the SVG document is already displayed. There are a number of known issues with some SVG implementations (such as Firefox [1], at least for version 2) while attempting to compute bounding boxes before the SVG document is displayed (for example, in a script which will be immediately evaluated when available, before the document is actually displayed). Which Batik version are you using? Can you attach a reduced test case for your experienced behavior? Does it still occur if you use the "setTimeout" trick [1]? If not, then the SVG wiki page should be updated in order to state that the "setTimeout" trick also applies to Batik version X (the one you are using). Hope this helps, Helder Magalhães [1] http://wiki.svg.org/GetBBox#Firefox_Support --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
