Comment 18 for bug 366744

Revision history for this message
Joel Obrecht (joel-obrecht) wrote :

I gave to your suggestion a bit of testing. The emf import works not really great, the text is messed, a path has lost its color, ... So it's no use here I'm afraid...

What is strange, is that for this testing purposes, by doing the change again on my home computer, adding the sodipodi namespace, performing a replace on all tspans in vim to add role="line", I found that now FIrefox shows them properly and Inkscape edits and saves them properly as well. I cannot figure out what was different on the other computer or what thing I made to have this behaviour (on the other computer I used geany to edit the svg, on this one vim...).

I guess then my problem is solved.

In the meanwhile, I was looking for a vim solution, and found one :
http://stackoverflow.com/questions/33317532/vim-search-replace-regex-incremental-function

:let i=300 | 323,$g/y="/smagic![0-9]\+.[0-9]\+!\=i!g | let i+=50

Enables, in Vim, to re-position all the vertical tspans by increment. It works quite fine, you choose in the first let the initial positioning and in the last let the distance between two tspans.

With Firefox's auto-reload addon it is quite straightforward to find the good values with a bit of testing.