I use Batik (1.5 final with FOP 0.20.5 rc3a) to convert SVG files to PDF files. If I add the unit in the SVG tag (ie, mm), the size of my rectangles is wrong in the PDF file. If there is no unit, the PDF file is perfect. I have only this problem whith the tag <rect>.
Have you got an idea ? Is it a bug of Batik or FOP ?
Here my SVG code:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="96mm" height="60mm" viewBox="0 0 96 60" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g id="zp">
<rect x="0" y="0" width="96" height="60" style=" fill:#FFFFFF;"/>
<rect x="2" y="7.3" width="92" height="1.2" style=" fill:#000000;"/>
<rect x="0.05" y="8.5" width="95.9" height="50.3" style=" fill:none; stroke:#000000; stroke-width:0.1;"/>
<rect x="0" y="58.8" width="96" height="1.2" style=" fill:#000000;"/>
</g>
</svg>
Thanks.
Chris.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]