subscript, superscript without selected text
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I just installed 0.48 on Windows and tried the new subscript/
It works correctly when you first write text, make a selection, then press subscript/
It doesn't work correctly when you write text, then press press subscript/
What's supposed to happen is that all text written afterwards will be subscripted/
What actually happens is that the whole unselecte text becomes smaller (e.g. from Bitstream Vera Sans size 40 it becomes size 7.8) and the position is changed strangely. Also observe the position of text cursor relatively to text and then watch it when you try to type in more characters.
Confirmed on Windows XP, Inkscape 0.48.
When the text is selected, a style attribute is added to the svg:tspan element with the following items: 65%;baseline- shift:super
font-size:
But when the text is not selected, the same items are added to the style attribute of the svg:text element, and there's no svg:tspan style attribute.