Viewbox values are buggy when resize file with % size
Bug #1688340 reported by
Trev Peterson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
Undecided
|
Unassigned |
Bug Description
OS: Ubuntu 16.04
Inkscape: 0.91
When I resize an SVG with height="100%" width="100%" the viewbox changes to very strange values.
Snippet from source file:
width="100%"
height="100%"
viewBox="0 0 637.79537 520.86595"
After opening in inkscape 0.91, changing Document Properties - Page to custom Width: 500 px, Height :500 px and saving the following lines are seen in the resulting SVG:
width="500"
height="500"
viewBox=
Attached is the SVG source file I used to identify this issue. Another inkscape user has confirmed the same behavior.
tags: | added: viewbox |
Changed in inkscape: | |
status: | Confirmed → Triaged |
To post a comment you must log in.
confirmed on Windows 10, Inkscape 0.92.1 r15371
attached is the svg file I get after resizing the page.
the numerical values for the new viewbox are different than comment 1, but the net effect is the same.
width="500"
height="500"
viewBox="0 0 318897.68 260432.98"