After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672990 - eog can't open this SVG file (other softs like firefox can): too big width?
eog can't open this SVG file (other softs like firefox can): too big width?
Status: RESOLVED NOTGNOME
Product: librsvg
Classification: Core
Component: general
2.36.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
: 642612 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-03-28 13:17 UTC by damsweb
Modified: 2012-11-11 18:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
SVG file with big width (454.03 KB, image/svg+xml)
2012-03-28 13:17 UTC, damsweb
Details

Description damsweb 2012-03-28 13:17:59 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...
Comment 1 Felix Riemann 2012-03-28 19:13:40 UTC
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.
Comment 2 Christian Persch 2012-03-28 19:29:00 UTC
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
Comment 3 Christian Persch 2012-03-28 20:12:38 UTC
(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.
Comment 4 Felix Riemann 2012-11-11 18:08:45 UTC
*** Bug 642612 has been marked as a duplicate of this bug. ***