GNOME Bugzilla – Bug 769869
Passing --zoom 1.0 multiplies size by 1.25
Last modified: 2017-12-13 18:22:43 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">
Created attachment 333254 [details] Scaled SVG (factor: 1.0)
-- 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.