← Back to team overview

desktop-packages team mailing list archive

[Bug 1207538] Re: misrendering of SVG files (clipping paths)

 

Reported upstream as https://bugzilla.gnome.org/show_bug.cgi?id=748565

** Bug watch added: GNOME Bug Tracker #748565
   https://bugzilla.gnome.org/show_bug.cgi?id=748565

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

Title:
  misrendering of SVG files (clipping paths)

Status in cairosvg package in Ubuntu:
  Confirmed
Status in librsvg package in Ubuntu:
  Confirmed

Bug description:
  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.

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