<svg width="300" height="100" viewBox="0 0 300 100"
  xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>

<path id="corner" transform="translate(140,40)"
    d="M0 0 L 50 0 A 30 30 0 0 1 80 30 L 80 80"
    style="stroke: gray; fill: none;"/>
</defs>

<use xlink:href="#corner"/>
<text style="font-size: 10pt;
  font-family: 'Liberation Sans'; text-anchor: ">
    <textPath xlink:href="#corner" startOffset="%">
    
    </textPath>
</text>
</svg>
This text is too long to fit on the path