Hi, the size of SVG is wrong when rendered by
org.apache.fop.render.pdf.PDFRenderer in FOP 0.20.4. The method
renderSVGDocument uses BridgeContext.getDocumentSize().getWidth() etc,
which returns an integer instead of a float. This works fine when
rendering to PostScript but not to PDF. I looked at the FOP 0.20.1
sources (which we're currently using) and there the size was fetched via
SVGSVGElement.getWidth().getBaseVal().getValue() and this seem to work
fine when used in FOP 0.20.4 after some initial tests. I'm not very
familiar with the code so hopefully someone at this list has some good
answers to this behaviour.

Thanx, Christer.



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

Reply via email to