Hi all,
when looking at https://bugs.launchpad.net/inkscape/+bug/1477723 (Cannot style spaces in text + Styling spaces moves them to next tspan) that a friend mentioned to me*, i found the cause of it in a very old function: tidy_operator_styled_whitespace http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/text-editing.cpp#L1835
This function is one of several that try to "tidy" text trees, doing the following transformations (or attempts to do so**) : abc<font> </font>def -> abc<font></font> def abc<b><i>def</i> </b>ghi -> abc<b><i>def</i></b> ghi
This transformation is exactly what should not be happening in my case (there is imo no reason for not being able to style spaces, especially when doing so changes space width), so *I plan to remove it entirely.*
Does someone have any objections?
I'm not that familiar with text styling code or with the reasons that prompted this particular set of tidying operators, and it seems that these date back from "revno 1", which explains i'm not as confident with removing it as if it had been introduced a few months ago.
Thanks for any advice,