Hi,
The textLength attribute causes Persian words does not render correctly in SVG previewers used in IDEs (Intellij) and also in inkscape. The reason is that when a space applied between Persian characters, different glyphs are used for the same character.
So How we can disable textLength at svg generation?
following images shows problem:

however firefox or chrome renders theme correctly:
