GNOME Bugzilla – Bug 672990
eog can't open this SVG file (other softs like firefox can): too big width?
Last modified: 2012-11-11 18:08:45 UTC
Created attachment 210778 [details] SVG file with big width OS: Mageia 2 GNOME3, eog 3.4.0 When trying to open the attached file, eog says: "Could not load image 'toto.svg' Image loading failed" I think the issue comes from the fact the image is quite width...
Seems to be a regression of librsvg-2.36 as it works with eog-3.2 and librsvg-2.34 but fails once librsvg-2.36 is installed.
Cairo image surfaces are limited to 32k pixels pixels in either direction, but rsvg-view / pixbuf loader is trying to create a much larger one (width=42943, height=4182). The source code says: /* Limit on the width / height of an image surface in pixels. This is * mainly determined by coordinates of things sent to pixman at the * moment being in 16.16 format. */ #define MAX_IMAGE_SIZE 32767
(In reply to comment #1) > Seems to be a regression of librsvg-2.36 as it works with eog-3.2 and > librsvg-2.34 but fails once librsvg-2.36 is installed. I think it'll fail with 2.34 too if running with cairo 1.12.
*** Bug 642612 has been marked as a duplicate of this bug. ***