Hi all, I am using SVG images in a FOP generated PDF and am seeing an
issue where the image width and height are rounded/clipped/truncated, however
you want to put it, when I view the output PDF. For example the following SVG created in Adobe Illustrator
has the following dimensions: <svg xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/" width="70.914"
height="79.441" viewBox="0 0 70.914 79.441" overflow="visible"
enable-background="" 0 0 70.914 79.441" xml:space="preserve"> The problem is when you look at the PDF result in Macromedia
Freehand or Adobe Illustrator the image size is given as: Width = 70pt Height = 79pt Where has the decimal precision gone? I am using FOP 0.20.5 on WinXP with JDK 1.3.1_03. The thing is I see the same behavior when I use Batik to convert
the SVG to a raster image format so I am posting here to see if it is a known
issue. I have investigated the
lists and the docs and can find nothing.
Has anyone else seen this?
Or am I missing something really obvious? Any ideas? Best regards, Matt Matthew Rea
|
- Re: SVG image rounding issue Rea, Matthew
- Re: SVG image rounding issue Thomas DeWeese