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=32528>. 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=32528 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Rendering images wrong size |'viewbox' attribute of <svg> | |element handled incorrectly ------- Additional Comments From [EMAIL PROTECTED] 2004-12-04 04:48 ------- It seems the bug is due to the vertical aspect of the svg's viewbox attribute not being handled correctly. The document below demonstrates the problem more clearly. The second rectangle drawn here should extend outside of the viewport; however, it's vertical aspect is still within the view. ------------ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Dimensions and margins of popular book formats: http://www.cafepress.com/cp/info/help/learn_book_layout.aspx --> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:svg="http://www.w3.org/2000/svg"> <!-- A typical printed page with --> <fo:layout-master-set> <fo:simple-page-master master-name="A4" page-width="210mm" page-height="297mm" margin-top="1cm" margin-bottom="1cm" margin-left="1cm" margin-right="1cm"> <!-- Main body inset 3cm from outer margin. Provides 170x257mm content area --> <fo:region-body margin="0cm"/> <!-- 2cm gutters on all sides--> <fo:region-before extent="1cm"/> <fo:region-after extent="1cm"/> <fo:region-start extent="1cm"/> <fo:region-end extent="1cm"/> </fo:simple-page-master> </fo:layout-master-set> <!-- Content pages --> <fo:page-sequence master-reference="A4"> <fo:static-content flow-name="xsl-region-before"> <fo:block text-align-last="justify"><fo:inline font-style="italic">Puzzle Corner</fo:inline><fo:leader/><fo:inline font-style="italic">http://www.kitfox.com/puzzlecorner</fo:inline></fo:block> </fo:static-content> <fo:static-content flow-name="xsl-region-after"> <fo:block text-align="center"><fo:page-number/></fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <!--fo:block text-align="center"--> <fo:block> <fo:instream-foreign-object width="190mm" height="277mm"> <svg xmlns="http://www.w3.org/2000/svg" x="0" y="0" width="190mm" height="277mm"> <rect x="0" y="0" width="190mm" height="277mm" fill="green" stroke="black" stroke-width="1"/> </svg> </fo:instream-foreign-object> </fo:block> <fo:block> <fo:instream-foreign-object width="190mm" height="277mm"> <svg xmlns="http://www.w3.org/2000/svg" width="190mm" height="277mm" viewBox="0 0 10 10"> <rect x="-2" y="-2" width="14" height="14" fill="blue" stroke="black" stroke-width="1"/> </svg> </fo:instream-foreign-object> </fo:block> <fo:block> <fo:instream-foreign-object width="190mm" height="277mm"> <svg xmlns="http://www.w3.org/2000/svg" width="190mm" height="277mm" viewBox="0 0 10 10"> <rect x="0" y="0" width="10" height="10" fill="red" stroke="black" stroke-width="1"/> </svg> </fo:instream-foreign-object> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.