Saving Plain SVG with viewBox extension
Bug #169966 reported by
Strank-users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
This is a small and simple output extension (in Python) that provides for
saving Plain svg, without width and height attributes. Instead it adds a
viewBox.
Such svg files are actually scalable when embedded in websites.
I use this as a stop-gap measure until the standard svg output method
supports options for different width/height viewBox combinations (and
preserveAspectR
(to use: put both files into share/extensions/)
cheers,
stefan
Related branches
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Originator: YES
File Added: svg_viewBox_ output. inx