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="230px" height="170px"
xmlns="http://www.w3.org/2000/svg" version="2.0">
<defs>
<path id="path-horizontal" d="M0 0C25 50 125 50 150 0" />
<path id="path-vertical" d="M0 0C50 25 50 125 0 150" />
</defs>
<g id="testRect">
<!-- This tests text on path with text decorations -->
<text id="test1" transform="translate(20,50)"
font-family="DejaVu Sans" fill="blue" font-size="15"><textPath href="#path-horizontal" text-decoration="underline double"><tspan>Lorem ipsum </tspan><tspan text-decoration="line-through" fill="red">dolor</tspan><tspan> sit amet</tspan></textPath>
</text>
<text id="test1rtl" transform="translate(20,100)"
font-family="DejaVu Sans" fill="blue" font-size="15" direction="rtl" text-anchor="end"><textPath href="#path-horizontal" text-decoration="overline dotted"><tspan>اللغة العربية</tspan><tspan text-decoration="line-through dashed" fill="red"> المعيارية </tspan><tspan>الحديثة</tspan></textPath>
</text>
<text id="test1ttb" transform="translate(160,10)"
font-family="Krita_Test_Unicode_Variation_A" fill="blue" font-size="15"
writing-mode="vertical-rl"><textPath href="#path-vertical" text-decoration="underline"><tspan>ああ芦芦</tspan><tspan style="vertical-align: super;" text-decoration="overline wavy red">芦芦</tspan><tspan>あああ芦</tspan></textPath>
</text>
</g>
</svg>