<text> position attributes should handle relative units
Bug #168845 reported by
Pscientist
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Tavmjong Bah | ||
Bug Description
Inkscape-0.45.1 does not handle em,ex,% units for <text> positioning.
I see that there is no UI for doing that in Inkscape itself, but at least
the import should handle this.
For example this works for rectangles:
<rect x="0" y="1em" width="2em" height="1em" style="fill: red;"/>
<rect x="0" y="3em" width="2em" height="1em" style="fill: blue;"/>
but the same is not possible with text:
<text x="100" y="5em"
<text x="100" y="7em"
The value for y is not converted, but ignored.
Both lines overlap.
(btw: this is one reason why currently bootchart output is not imported
correctly)
Related branches
Changed in inkscape: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in inkscape: | |
status: | Confirmed → Triaged |
importance: | Wishlist → Medium |
tags: | added: svg |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug still exists in 0.46.
Attached a modified example from the one Pscientist posted (it needed a font-size).