Text spanning more than one row , are quite complicated with SVG because there is no mechanism for automatic line breaks. Colours can effortlessly be changed within one text object. Character spacing can be changed even within one word, what can be useful f.e. for lettering streets within city-maps. Character positioning is variable in every direction, even rotating single characters is possible. Aligning text to objects , is probably one of the most important functions for cartographic design.
Text is an object like any other, with stroke- and fill properties .
Character Rotation Different object transformations can be applied to the Text object. In our case a rotation. The same with a lot of rows. This may sound complicated, but is easy combined with an export from graphics design software or with scripting. This string is only once anchored with x and y .