office-gobmx/svgio/qa/cppunit/data/tdf93583.svg
Xisco Fauli 5cfd31e505 tdf#93583: use getTextWidth to calculate line's width
Since every character in the line might use different styles
Change-Id: I2ce079d4308f4acde42a8366838749a7c20331b4

Change-Id: I01f51f157caa667cebc8860ae37d4458fac2d511
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155666
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-08-15 03:53:06 +02:00

7 lines
239 B
XML

<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
<text
style="text-anchor:end"
x="214"
y="303"><tspan>This is the<tspan style="font-size:200%"> first </tspan>line</tspan>
</text>
</svg>