Hi Tom, Litton, Tom - CEPM wrote:
By the way, i'm using batik 1.5.
> It looks like the PDFTranscoder is rather old as well
(not sure what version of fop it came from).
If you are really using 1.5 and not 1.5.1 you should really upgrade, even if you are using 1.5.1 you should upgrade to 1.6.
It seems you were right. Most of the time is spent in the call to GraphicsNode.paint,
One of the changes in 1.6 is that the GraphicsNodes should do a better job of culling the tree for regions that aren't painted. How big a difference this makes depends a lot on how the SVG document is structured. So taking a mapping example if you have a fairly flat document with just layers - all the forest areas for the entire document are children of one group, all the streets are children of the 'street' group, etc... Then any time you draw anything it will end up looking at all the nodes in the tree. However if you structure it so that say all the geometry for a county (a subdivision of a state in the US) shared a common parent, and perhaps you have layers under that, then the rendering engine should quickly discard most of the document and only attempt to render the counties that intersect the output region. Some of this was in 1.5 but it has been improved in some important cases for 1.6. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
