Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
<svg width="160px" height="29px"
xmlns="http://www.w3.org/2000/svg" version="1.1">
<g id="test">
<rect id="boundingRect" x="5" y="5" width="150" height="19"
fill="none" stroke="red"/>
<text id="testRect" x="4" y="21"
font-family="DejaVu Sans" font-size="15" fill="blue" >
<tspan>text<tspan baseline-shift="super">super </tspan>normal<tspan baseline-shift="sub">sub</tspan></tspan>
</text>
</g>
</svg>