BUG: SVG wrongly clipped because Inkscape don't save the viewBox attribute

Bug #1323678 reported by EmanueleSabetta
6
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://oi58.tinypic.com/15gd0tu.jpg

Tags: viewbox
Revision history for this message
EmanueleSabetta (fmuaddib) wrote :
description: updated
su_v (suv-lp)
tags: added: viewbox
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.