<svg viewBox="0 0 500 500">
<path id="MyPath" fill="none" stroke="red"
d="M 10,10 L 150,100" />
<path id="MyPath2" d="M 10,55 L 150,55" />
<text>
<textPath href="#MyPath2" startOffset="50%">
Quick
</textPath>
</text>
</svg>