I've checked on #svg, and I understand that a document like this:
<svg width="20cm" height="10cm" viewBox="0 0 200 100">
<line x1="0" y1="0" x2="20" y2="10" style="stroke: blue; stroke-width: 1"/>
</svg>
should produce a drawing 20x10cms. However, when I preview this in squiggle or a JSVGScrollPane, the drawing is about 80x40 pixels. I would have expected batik to use the screen dpi (or similar measurement) to correct render the document at 100% zoom.
Am I using viewBox incorrectly, or am I using Batik wrongly?
Thanks in advance James Shaw
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
