Hi, On Nov 20, 2007 12:37 AM, Amanda Fernandez Redondo <[EMAIL PROTECTED]> wrote: > I add the canvas in a JDialog, and it's resizable, so I don't set this > attributes to the svg element, should I?
According to SVG 1.1 spec, if the svg attribute width or height is not specified, the effect is as if a value of "100%" were specified. However, I think you could just test by explicitly set those attribute either in svg xml code or using DOM API calls to set dynamically during runtime, then try to transcode again to see if there is any effects on the transcoder output. If indeed it have any effects, maybe you could fill batik bugzilla. Just try to set it using different value eg: use 100% as value and use fixed value eg: 800px, etc. Note: if you are using DOM API call, please use the namespace aware methods eg: setAttibuteNS(...) Cheers Tonny Kohar -- Sketsa SVG Editor imagine, design, create ... http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
