问题 I have something set up online where a user can input text into an input field, and that text is then displayed and saved as an SVG file. It puts the text inside a <text> and <tspan> node. The text needs to be certain way, so I attach the text-anchor property set to the tspan node with the value of "middle" and I set the x property of the tspan node to exactly half the width of the parent. This works exactly as expected with latin characters, the text is centered and aligned as it should be,