Public bug reported:

Generating an SVG file using matplotlib,

from pylab import *

x = linspace(0,2,101)
plot(x,x)
xlim(0,1)
savefig('test.svg')

gives the SVG file attached. This file views fine in Inkscape, Firefox,
Chromium. However in Ristretto the blue line is not clipped properly and
extends past the right side of the plot. The file's XML is pretty
simple, with just one clip rectangle.

It seems there are a few image viewers with this problem including
Ristretto but also gpicview, comix, gthumb. I'm not sure why they all
share this issue (same library?). I'll submit the bug report here in
hopes it gets forwarded upstream to the right place.

** Affects: ristretto (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "test.svg"
   https://bugs.launchpad.net/bugs/1207538/+attachment/3757500/+files/test.svg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1207538

Title:
  misrendering of SVG files (clipping paths)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ristretto/+bug/1207538/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to