diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-08-14 14:52:41 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-08-15 03:53:06 +0200 |
commit | 5cfd31e505b4d1b4f9d2e21b0f9f8aac22539f47 (patch) | |
tree | b037f5d6ce2cfc412a75382db71a55249ba49b0c /svgio/qa/cppunit/data | |
parent | 850b66f969834e61f3cb1a1ccd4bfc15f23d558f (diff) |
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>
Diffstat (limited to 'svgio/qa/cppunit/data')
-rw-r--r-- | svgio/qa/cppunit/data/tdf93583.svg | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/svgio/qa/cppunit/data/tdf93583.svg b/svgio/qa/cppunit/data/tdf93583.svg new file mode 100644 index 000000000000..13e63e677ffb --- /dev/null +++ b/svgio/qa/cppunit/data/tdf93583.svg @@ -0,0 +1,7 @@ +<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> |