Elliptical arc with 0 radius not rendered correctly
According to https://www.w3.org/TR/SVG11/implnote.html#ArcOutOfRangeParameters
If rx = 0 or ry = 0 then this arc is treated as a straight line segment (a "lineto") joining the endpoints.
Inside Inkscape
Example file (path m 56.563752,197.94507 a 0,0 0 0 0 1,0
and two pieces of text, one above and one below it): invalid.svg
On canvas, they create weird artefacts (random area around the path is black or white) if other items are on canvas.
Export
Export to pdf and png fail (regarding pdf, see inbox#511 (closed)).
Export to png fails silently (well, exits with STATUS_OK), while export to pdf does not (error while rendering output: invalid matrix (not invertible)
) see inbox#511 (closed)
Appearance in firefox | Appearance on render to png |
---|---|
Exported pdf (similar appearance to png). render_pdf.pdf