I noticed that Batik will crop the edges of thick stroke lines so for example
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
         "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
<svg width="256px" height="256px" version="1.1" viewBox="0 0 256 256"
     xmlns="http://www.w3.org/2000/svg";
     xmlns:xlink="http://www.w3.org/1999/xlink"; >
<symbol id="rc">
<rect x="0" y="0" width="20" height="100" stroke="black"
stroke-width="10" fill="white" />
</symbol>
<use xlink:href="#rc" x="100" y="100" />
</svg>
will show a rect with apparently a thinner stroke on the top/left
because it was cropped at x=0 and y=0, even though the final shape is
rendered in the middle of the page.

Just for my information, is that to do with Batik's implementation or
is it in the SVG spec (I couldn't find the relevant section)
Thanks,
Peter

<<attachment: crop.png>>

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org

Reply via email to