Hi Klaus,

this problem is fixed in the latest SVN version. The SVN version contains numerous bug fixes and improvements over the latest stable release 1.6. I tested it with your SVG file. Here is the output: http://www.carto.net/neumann/temp/klaus.pdf

I believe that Thomas and Cameron plan to release a new version (1.7) soon. Until then you can build your own distribution from SVN or use one of the nightly builds.

Best wishes,
Andreas


klaus Förster wrote:

Hi,

When I convert SVG-paths within a nested SVG-Element using batik-1.6 batik-rasterizer, the outline of all paths gets shifted bottom/left in the resulting PDF. Using image/png as output format produces correct results as expected. The following files illustrate the problem:

PDF: http://tirolatlas.uibk.ac.at/devel/bugs/200608_batik/fop.pdf
PNG: http://tirolatlas.uibk.ac.at/devel/bugs/200608_batik/fop.png
SVG: http://tirolatlas.uibk.ac.at/devel/bugs/200608_batik/fop.svg

commands used for conversion to PDF, PNG:
http://tirolatlas.uibk.ac.at/devel/bugs/200608_batik/fop.txt

the general structure of the SVG file is as follows:
<svg width="297mm" height="210mm" viewBox="0 0 900 600">
 <svg x="10" y="55" width="640" height="542"
      viewBox="4300000 -2760000 260000 220000">
  <g stroke="#000" stroke-width="0.03%">
   <paths ... />
  </g>
 </svg>
</svg>

any ideas on how to solve this?

thanks in advance
Klaus Förster, Tirol Atlas



--
----------------------------------------------
Andreas Neumann
Institute of Cartography
ETH Zurich
Wolfgang-Paulistrasse 15
CH-8093  Zurich, Switzerland

Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
e-mail: [EMAIL PROTECTED]
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to