I am using Batik 1.5 and Java 1.5.0.6

in the run method of
canvas.getUpdateManager().getUpdateRunnableQueue().invokeLater

I update the viewBox attribute of the root svg element
canvas.getSVGDocument().getRootElement().setAttributeNS(null,"viewBox",viewBox);

I got a blank screen. 

After I saved the updated document, it can be displayed correctly. So the
update itself seems correct. But rendering is wrong???

I don't know whether it is a bug related with Batik 1.6?

-- 
View this message in context: 
http://www.nabble.com/dynamically-updating-svg-viewBox-tf1994869.html#a5475371
Sent from the Batik - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to