DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29303>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29303 PDF Renderer misrenders SVGs Summary: PDF Renderer misrenders SVGs Product: Fop Version: 0.20.5 Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: pdf renderer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I'm using fop-0.20.5 (and the current version from the 0.20.2-maintbranch) to render images on PDF pages. Unfortunately, my results withSVG images are very different than my results with PNG and JPG. The SVGimages are not scaled correctly (I scale images of various sizes into animage area on my page. The reason for this is, that the PDFRenderer usesdifferent code for rendering SVG images and other images and the PDFpath does not scale the image to the requested size but simply puts theimage on the page (miscalculating the image position during thisprocess).The attached patch against the 0.20.2-branch fixes this behaviour. Withthis patch, a Visio chart saved as PNG and as SVG look the same (exceptthat the SVG version gets scaled much better).