You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2005/09/05 17:21:45 UTC

DO NOT REPLY [Bug 36505] New: - [PATCH] SVG bugs in Java2D renderers

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=36505>.
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=36505

           Summary: [PATCH] SVG bugs in Java2D renderers
           Product: Fop
           Version: 1.0dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: svg
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: richardw@geoquip-rnd.demon.co.uk


The following bugs have been found in the Java2D renderer's SVG handling:

1. Whenever two svg images appear on the same page, the second one disappears
completely. This was caused by the translate at the end of renderSVGDocument
method not being the correct inverse of the preceding one.

2. Any attempt to scale the image failed. Fixed by using the position's width
and height rather than the image's.

3. Any attempt to use an image larger than 100x100 caused erroneous cropping.
Fixed by scaling as above. However, if the image is larger than 100x100 and
no viewbox is defined in the svg file, cropping will still occur. This
restriction also holds for PDF (and other?) renderers.

-- 
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.