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 615490 - rsvg-view should scale image size by default if the image has huge canvas.
rsvg-view should scale image size by default if the image has huge canvas.
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
: 541186 (view as bug list)
Depends on: 615699
Blocks: 566433
 
 
Reported: 2010-04-12 04:12 UTC by Hiroyuki Ikezoe
Modified: 2010-04-17 06:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (4.00 KB, patch)
2010-04-14 05:43 UTC, Hiroyuki Ikezoe
committed Details | Review

Description Hiroyuki Ikezoe 2010-04-12 04:12:27 UTC
There are some SVG files which has such a huge canvas (width and hight or viewBox) that it can not be rendered by rsvg-view due to memory insufficient.

For example, the canvas size of attachement 125697 in bug 566433 is 28000 x 21000.
So 2G memory is needed if this image is rendered as it is.

For this reason, rsvg-view should scale image to screen size or something else.
Comment 1 Hiroyuki Ikezoe 2010-04-14 05:43:19 UTC
Created attachment 158672 [details] [review]
Proposed fix

Now attachement #125697 in bug 566433 can be opened by rsvg-view without any options.
Comment 2 Hiroyuki Ikezoe 2010-04-14 08:25:41 UTC
*** Bug 541186 has been marked as a duplicate of this bug. ***