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 762115 - Regression: behaviour of -w and -h changed, now crops instead of scales the image
Regression: behaviour of -w and -h changed, now crops instead of scales the i...
Status: RESOLVED OBSOLETE
Product: librsvg
Classification: Core
Component: general
2.40.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-15 23:45 UTC by Michael Biebl
Modified: 2017-12-13 18:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Biebl 2016-02-15 23:45:46 UTC
Version: 41.0.2

Commit fecfcce44a959daff80a4e0f9ced83d7cdcb5903 caused a regression.
It broke the behaviour of -w and -h. Before the commit, those parameters would scale the image, now it crops them.

See also
https://bugzilla.gnome.org/show_bug.cgi?id=520654#c2
Comment 1 ricardobeat 2016-04-20 16:44:34 UTC
The --zoom parameter seems to also be broken since 2.40.11. I reverted to 2.40.10 and it behaves correctly, that is

rsvg-convert -z 3 file.svg

where file is <svg width="100" height="100" ...>, will yield a 300x300px image.
Comment 2 Lukas Stabe 2016-05-20 05:43:58 UTC
This being broken is really unfortunate and the reason I can't upgrade. rsvg-convert used to the the simple solution for rendering svgs with a specific width/height without knowledge of the svgs internal dimensions. Now this is no longer possible.
Comment 3 GNOME Infrastructure Team 2017-12-13 18:16:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/librsvg/issues/135.