Neil Patel wrote:
I have successfully transformed test.svg into test.pdf using the command line(console) java argument in Batik 1.1.1
java org.apache.batik.apps.rasterizer.Main -m application/pdf test.svg


Now when I use FOP 2.03 using a test.fo file to reference the same test.svg 
file, it doesn't display the graphic in the resulting pdf file. when I run:
"Fop test.fo test.pdf"  Instead it just displays a bunch of white space where 
the image should appear in the pdf file.

Anyone know what's going on here?


It has probably been clipped. Use a width and height in cm or mm or in on your svg root element, and use the same width+heigth on the fo:external-graphic.

J.Pietschmann




Reply via email to