Comment 9 for bug 454711

Revision history for this message
su_v (suv-lp) wrote :

> who and why inserts «viewBox="0 0 29700 21000"
Inkscape doesn't insert it, but it is often requested as feature because it allows re-sizable SVG (e.g. for embedding in web pages - see the blueprint <https://blueprints.launchpad.net/inkscape/+spec/allow-browser-resizing>)

> how easy fix such documents, without manual editing on Inkscape?
That's why I asked how you created the document. There are elements in it that Inkscape doesn't do itself - like viewBox or font embedding - and hints that this is part of a presention (Master slide). The viewBox is combined with 'transform=matrix(…)' attributes to and inside the second viewport (svg) element and not easily undone by deleting it (I had tried - as you - in the XML Editor to reduce the document to the three essential paths (ellipses) with mixed results).

related links:
ViewBoxToDo - Inkscape Wiki:
<http://wiki.inkscape.org/wiki/index.php/ViewBoxToDo>
BlueprintRealUnit - Inkscape Wiki:
<http://wiki.inkscape.org/wiki/index.php/BlueprintRealUnit>
Release notes/0.47 - Inkscape Wiki: Notable bug fixes
<http://wiki.inkscape.org/wiki/index.php/Release_notes/0.47#Notable_bug_fixes>
SVG 1.1 - Coordinate Systems, Transformations and Units
<http://www.w3.org/TR/SVG11/coords.html>

I am no SVG export myself - maybe one of the devs can comment… (speleo3 ? ;-)