If I have a static SVG file (I created it with sodipodi) and display it using the JSVGCanvas, it works fine. The code is similar to the example you have under Java Scripting that uses the JSVGCanvas to display "doc.svg".
If I make a slight modification to your JSVGCanvas example that displays "doc.svg" to display my SVG file, and I run that code, it will not display the SVG file... UNLESS I make the window smaller. Making the window bigger doesn't do anything. But if I make the window smaller then it will display it. Now, if I try using my code with the setDocumentState to ALWAYS_DYNAMIC, I achieve the same behavior. Unless I make the window smaller, it won't display the image to the screen. I can still click and receive events, though.
I noticed other strange behavior. If I resize the window larger than the size of the SVG document, then the SVG image disappears. If I reszie back to at least the size of the document, it comes back.
My hack right now is to resize the window after I get the rendering completed message.
I'd trying to find SVG solutions to use in a piece of software I am writing. Batik looks great, but having run into these bugs is a small damper. Also, what's the state of increasing the performance? That's my biggest reserve to using any SVG solution right now.
Dan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]