DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23883>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23883 SVG embedded in FO cannot handle large (6digit) translates Summary: SVG embedded in FO cannot handle large (6digit) translates Product: Fop Version: 0.20.5 Platform: Alpha OS/Version: Other Status: NEW Severity: Major Priority: Other Component: svg AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 0.20.5 and 1.0dev cannot handle large translates when drawing polylines. ======buggy.fo============================== <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg"> <fo:layout-master-set> <fo:simple-page-master master-name="simpleA4" page-height="29.7cm" page-width="21cm" margin-top="2cm" margin-bottom="2cm" margin-left="2cm" margin-right="2cm"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="simpleA4"> <fo:flow flow-name="xsl-region-body"> <fo:block font-size="16pt" font-weight="bold" space-after="5mm">Project GML to SVG <fo:instream-foreign-object> <svg:svg viewBox="0 0 400 400" width="18cm" height="18cm"> <svg:title>A map </svg:title> <!-- this group (blue polyline) renders OK --> <svg:g transform="translate(-1400.0,0.0)"> <svg:polyline points="1400.0,0.0 1471.0,50.0" fill="none" stroke-width="9" stroke="blue"/> </svg:g> <!-- this group (red polyline) renders NOT OK due to the large translate --> <svg:g transform="translate(-140000.0,0.0)"> <svg:polyline points="140100.0,0.0 140171.0,50.0" fill="none" stroke-width="9" stroke="red"/> </svg:g> </svg:svg> </fo:instream-foreign-object> </fo:block> </fo:flow> </fo:page-sequence> </fo:root>