I am posting this question to both the Batik group and the FOP group - not sure who might be able to help me.
I am running into a problem when trying to transcode SVG content to PDF. I have quite a large SVG document which is created using JGraph. It usually has a width of 1100 pixels and a height of 1600 pixels. When viewed as SVG everything is great.
You need to set the viewBox attribute on the outermost SVG element. This will tell the transcoder what part of the infinite canvas should be scaled to the output device.
If this doesn't work you might try CVS as I have fixed some bugs in this general area since the last release.
By the way - if I can get a PDF document with multiple pages in it that would be even better!!
To do this you need to create an FO document that embeds SVG. You can then use the SVG 'image' element to reference the complete document and attach an svg 'view' fragment to the end of the URL to control what portion of the entire document get's rendered:
foo.svg#svgView(viewBox(0,0,1100,1600))
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
