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=4766>. 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=4766 SVG line thickness wrong in PDF Summary: SVG line thickness wrong in PDF Product: Fop Version: 0.15 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: pdf renderer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] SVG in an instream-foreign-object -> PDF. I've got a number of lines that ought to be the same thickness; they have different stroke-widths, but they're contained in scale() transforms that ought to cancel that out. When FOP shows them on the screen using -awt they do come out the same size as expected, but when it creates PDF they are different. FOP 0.20.2-RC. Example: ?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master margin-right="25mm" margin-left="25mm" margin-bottom="20mm" margin-top="15mm" page-height="297mm" page-width="210mm" master-name="a4"> <fo:region-before extent="10mm"/> <fo:region-after extent="10mm"/> <fo:region-body margin-bottom="15mm" margin-top="15mm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-name="a4"> <fo:flow flow-name="xsl-region-body"> <fo:block> <fo:instream-foreign-object> <svg:svg xmlns:svg="http://www.w3.org/2000/svg" width="5cm" height="5cm" viewBox="0 0 1000 1000"> <svg:line stroke-width="60" stroke="#000000" x1="300" y1="100" x2="1200" y2="100"/> <svg:g transform="scale(1)"> <svg:line stroke-width="60" stroke="#000000" x1="300" y1="200" x2="1200" y2="200"/> </svg:g> <svg:g transform="scale(10)"> <svg:line stroke-width="6" stroke="#000000" x1="30" y1="30" x2="120" y2="30"/> </svg:g> <svg:g transform="scale(100)"> <svg:line stroke-width="0.6" stroke="#000000" x1="3" y1="4" x2="12" y2="4"/> </svg:g> <svg:g transform="scale(1000)"> <svg:line stroke-width="0.06" stroke="#000000" x1="0.3" y1="0.5" x2="1.2" y2="0.5"/> </svg:g> </svg:svg> </fo:instream-foreign-object> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]