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 BEGUE Pierre <pb...@iftechnologies.net> on 2005/08/05 09:31:10 UTC

problem PDF

hi thomas ,

when i use the PDFTranscoder of FOP in the batik-src , he generate the 
svg into a pdfFile. It's good

but when i see by the zoom of acrobat i saw that shift the border and 
the background color. How can i resolve this problem


thanks

Re: problem PDF

Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi Pierre,

BEGUE Pierre wrote:

> when i use the PDFTranscoder of FOP in the batik-src , he generate the 
> svg into a pdfFile. It's good
> 
> but when i see by the zoom of acrobat i saw that shift the border and 
> the background color. How can i resolve this problem

    So I am not an expert on PDF.  From memory this tends to only
happen for 'large coordinates'.  Second it tends to only happen
with (older versions?) of the Adobe viewer (Mac OS X preview for example
doesn't have the problem).

    Someone just increased the precision that was used to write
the affine matrices in the FOP PDF generator.  I don't know if
this would affect this problem (I would tend to think not).
The best solution is to avoid using problematic coordinate
systems (these are ones that have a very large translate but
use a small range, e.g.  500,000 -> 500,010 for the whole document,
basically it becomes an issue of precision).

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