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 769869 - Passing --zoom 1.0 multiplies size by 1.25
Passing --zoom 1.0 multiplies size by 1.25
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-08-14 00:32 UTC by clement.pit
Modified: 2017-12-13 18:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Original SVG (225.83 KB, image/svg+xml)
2016-08-14 00:32 UTC, clement.pit
Details
Scaled SVG (factor: 1.0) (225.73 KB, image/svg+xml)
2016-08-14 00:33 UTC, clement.pit
Details

Description clement.pit 2016-08-14 00:32:29 UTC
Created attachment 333253 [details]
Original SVG

The following command line on the attached file changes the file's size; it multiples it by 1.25. Is this expected?

rsvg-convert --zoom 1.0 -f svg -o if-rule-zoom-1.0.svg if-rule.svg

More generally, all zoom rations seem to be multiplied by 1.25, but I couldn't find documentation for this behavior.  I imagine I'm doing something wrong, so this could count as a documentation bug :) I have attached the two files.

Here's a session transcript:

$ rsvg-convert --zoom 1.0 -f svg -o if-rule-zoom-1.0.svg if-rule.svg

$ head -n2 if-rule.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="483pt" height="187pt" viewBox="0 0 483 187" version="1.1">

$ head -n2 if-rule-zoom-1.0.svg 
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="604pt" height="234pt" viewBox="0 0 604 234" version="1.1">
Comment 1 clement.pit 2016-08-14 00:33:04 UTC
Created attachment 333254 [details]
Scaled SVG (factor: 1.0)
Comment 2 GNOME Infrastructure Team 2017-12-13 18:22: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/149.