Use viewBox to explicitly define a coordinate system
Bug #171203 reported by
Bug Importer
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Matthew Petroff |
Bug Description
I've noticed when looking at the source after saving as
plain SVG that, although the width and height of the
document are defined in real world units, the other
coordinates within the document are specifid in user
units. The problem is, how do you know for sure what the
user units will be? There is an assumption made by
inkscape about this, but it might be wrong for other
programs.
I suggest that width and height continue to be set as
they currently are, but a viewBox should be included to
set up a coordinate system. This way, nothing is left
to guesswork.
Related branches
Changed in inkscape: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in inkscape: | |
milestone: | none → 0.49 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This should be priority 9. The format of the file is really
the most crucial part of the project to get right.
Everything else is secondary.
Without the use of viewBox, it's a wonder why the files work
in other programs at all. How does the program know how the
user units relate to the dimentions of the document? It
baffles me. viewBox makes this explicit. Explicit is good.