Page 1 of 1

Imported SVG got modified by OWM

Posted: Sun Apr 04, 2021 3:12 pm
by Balmung
I created a scale bar but OWM keeps adding a line over the first marker, but only if I add numbers (which has been converted into curves).

I tried different fonts and different positions. It doesn't even matter if there is just one or multiple numbers - this one line is always added.

I attached the SVGs and a map file, if someone has an idea or wants to experiment.

Re: Imported SVG got modified by OWM

Posted: Wed Apr 28, 2021 12:59 pm
by Kanchou
Balmung wrote:
Sun Apr 04, 2021 3:12 pm
I created a scale bar but OWM keeps adding a line over the first marker, but only if I add numbers (which has been converted into curves).

I tried different fonts and different positions. It doesn't even matter if there is just one or multiple numbers - this one line is always added.

I attached the SVGs and a map file, if someone has an idea or wants to experiment.
We found the issue, the SVG parser isn't handling the defined objects properly. In this case, it's a rect
<rect
x="67.08464813"
y="157.9562836"
width="63.48249435"
height="12.86501122"
id="rect2788" />

Your file isn't actually using it for rendering, so it's likely a left over. For now you can delete the defs you aren't using from the SVG, but we'll fix this issue with the next release.

Thank you!

- Alejandro

Re: Imported SVG got modified by OWM

Posted: Wed Apr 28, 2021 1:15 pm
by Balmung
Interesting ^^