path segments are lost
When cleaning up path data, the last segment is lost in special cases. This bug is introduced in scour 0.14, so I guess it’s related to the attempt to remove the last segment whith closed paths. But in some cases, the path isn’t closed after the cleanup.
I noticed this behaviour with a cairo generated file. Cairo creates a bit odd paths with a M command after the path is closed by Z. Maybe this causes the problem.
M 601.441406 216 L 649.480469 216 L 649.480469 273.601562 L 601.441406 273.601562 Z M 601.441406 216
Cleaned path with lost segment:
|Changed in scour:|
|assignee:||nobody → codedread (codedread)|
|status:||New → In Progress|