Is it possible to display multiple lines of text in SVG without using the dy
property? I'm using SVG 1.1 but might be able to use 1.2.
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<text x="0" y="15" font-size="15">
<tspan>tspan line 1</tspan>
<tspan>tspan line 2</tspan>
<tspan>tspan line 3</tspan>
</text>
</svg>
See Question&Answers more detail:os