imported svg textPath rendering parent element content on path
Steps to reproduce:
- open Inkscape
- open file inkscape03b.svg
What happened?
content from the parent text element rendered as the first part of the textPath element
What should have happened?
the parent parent text element content should have rendered at the text element coordinates. inkscape03b.svg should render the same as inkscape03a.svg, which has a separate text element. Both files show the same in the «firefox and google chrome» browser.
Inkscape Version and Operating System:
- Inkscape Version: Inkscape 0.92.4 59a689c313, 2019-01-14
- Inkscape Version: Inkscape 0.92.4 (f8dce91b, 2019-08-02) «5874 from snap»
- Inkscape Version: Inkscape 0.92.4 (ae0d1237, 2019-09-24) «6234 from snap:edge»
- Operating System: Fedora 30
- Operating System version: 5.2.15-200.fc30.x86_64
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<path id="txtPath" fill="none" stroke="red"
d="M10,120 Q90,120 90,75 Q90,40 50,40 Q10,40 10,70 Q10,100 45,100 Q70,100 75,80" />
<text x="10" y="20" >simple line</text>
<text><textPath xlink:href="#txtPath">Quick brown fox jumps over the lazy dog</textPath></text>
</svg>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<path id="txtPath" fill="none" stroke="red"
d="M10,120 Q90,120 90,75 Q90,40 50,40 Q10,40 10,70 Q10,100 45,100 Q70,100 75,80" />
<text x="10" y="20" >simple line<textPath xlink:href="#txtPath">Quick brown fox jumps over the lazy dog</textPath></text>
</svg>