if the last character of a text is a space character, it gets ignored by getCoputedTextLength()
Created attachment 231431 [details]
a simple SVG textbox.
open the file and click in the textbox, then enter a space followed by any character, see what happens with the text cursor while doing so.
Actually we just don't handle xml:space="preserve" so terminal spaces are compressed to nothing.
*** This bug has been marked as a duplicate of 319786 ***
no, its not the xml:space bug, as you can see if you enter one space, its still part of the string, if you enter one character after the space, the curser jumps two character forward, and the space is there, i think xml:space is just for collapsing or not collapsing multible spaces to just one space. its not general string normalization.
the xml:space is another bug with this textbox, but you can delete it from the file and the bug stays the same.
do you mind if i reopen the bug ?
oh, forget what i just posted,i just read up on xml:space , you are in fact right,
this is the same as the xml:space bug, sorry !