[jira] [Created] (BATIK-1191) Batik 1.9 hides SVG objects outside viewbox

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Created] (BATIK-1191) Batik 1.9 hides SVG objects outside viewbox

JIRA jira@apache.org
Bjoern Voigt created BATIK-1191:

             Summary: Batik 1.9 hides SVG objects outside viewbox
                 Key: BATIK-1191
                 URL: https://issues.apache.org/jira/browse/BATIK-1191
             Project: Batik
          Issue Type: Bug
          Components: SVG Viewer
    Affects Versions: 1.9
            Reporter: Bjoern Voigt
         Attachments: initial-view-left18_right19.png, sample.svg, wider-window-view-left18_right19.png

If an SVG image contains objects partially or completely outside the viewbox, then these objects are completely or partially hidden, even if the view is changed manually with zoom & pan.

This bug is introduced in version 1.9.

The bug can be easily shown with the attached sample.svg and Squiggle (part of the Batik SVG distribution). It is not a bug of Squiggle. Sample programs with JSVGCanvas show the same behavior.

java -jar batik-squiggle-1.8.jar sample.svg
java -jar batik-squiggle-1.9.jar sample.svg

Initially both Squiggle windows look similar. But if you make the Squiggle windows wider, then the version 1.8 variant of Squiggle shows the complete red rectangle, which is partially outside the viewbox. The version 1.9 variant keeps the red rectangle cut off on the viewbox.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]