What does the merge request do?
Fix issue #454 (closed) by decreasing the tolerance to convert superpaths to closeto commands.
It seems to work in my tests, but long term I'd like to get rid of superpaths for this reason. It just doesn't have all the information needed to work reliably (notably, whether a subpath is closed or not).
Implementation notes
The problem is that M 10, 10 l 0 0
does render a dot at 10, 10
, but M 10, 10 l 0 0 z
does not, and neither does M 10, 10 z
(might be related to inkscape#1154 or inkscape#1131? not sure)
Since we only draw a tiny line segment, some lineto commands are converted to Z if the tolerance is set too high (numerical inaccuracies).
Summary for release notes
(no mention needed, bug was only introduced in 1.2-alpha)
Checklist
-
Add unit tests (if applicable) -
Changes to inkex/
are well documented -
Clean merge request history