You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Fernando Miguez Alvarez - Cinntes <fe...@cic.cinntes.es> on 2007/01/12 09:35:56 UTC
Converting to pdf
Hello, I would like to know which relative units uses the Rasterizer
package in order to convert svg to pdf.
Converting the svg to pdf I realize that the dimensions are reduced in a
small percentage.
For example, if I have the next code in a SVG file:
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" width="297mm" height="210mm" id="InformeCDA"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<rect width="60mm" height="25mm" x="75mm" y="75mm" stroke="black"
stroke-width="2" id="V1" />
</svg>
When I convert the SVG to PDF and I print the PDF the rectangle width is
58 mm and should be 60mm.
I need the measurement to be exact when the page is printed.
Can anybody help me?
Thanks.