BUG: SVG wrongly clipped because Inkscape don't save the viewBox attribute
Bug #1323678 reported by
EmanueleSabetta
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
OS: Apple OS X 10.9.3
Inskscape version: v0.48.2
PROBLEM: The SVG image is wrongly clipped in the browser because Inkscape don't save the viewBox attribute
EXPECTED RESULT: the saved svg root should contain a viewBox attribute with the correct coordinates and dimensions of the svg drawing bounding box (see the attacched screenshot for details).
SOLUTION: Save the "viewBox" attribute in the svg files with the correct coordinates (like those displayed in the top toolbar once you "select All..." elements of the drawing in Inkscape)
You can look at this screenshot I made to understand better how to fix:
http://