You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Jeremias Maerki <de...@jeremias-maerki.ch> on 2007/01/12 12:17:33 UTC

Re: Problems converting to PDF

(Please ask questions on batik-users next time. Thank you!)

Such small deviations usually indicate that you've ticked the setting in
Acrobat's print dialog that scales the page.

See also: http://xmlgraphics.apache.org/fop/faq.html#pdf-print-contortion

On 12.01.2007 09:48:56 Fernando Miguez Alvarez - Cinntes wrote:
> 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.
> 



Jeremias Maerki


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