Calling BezPath::close_path
infallibly adds a PathEl::ClosePath
, leading to buggy behavior
#213
Labels
enhancement
New feature or request
needs discussion
This change requires some more discussion before we decide we definitely want it
kurbo/src/bezpath.rs
Lines 211 to 214 in b9247ed
My conversion code is aware of the shortcoming and patches Kurbo's output:
https://github.com/MFEK/glifparser.rlib/blob/ee7f0e8786cac7328f27064a5575aeb1a6175006/src/outline/kurbo.rs#L176
I also test for it:
https://github.com/MFEK/glifparser.rlib/blob/ee7f0e8786cac7328f27064a5575aeb1a6175006/tests/kurbo_conv.rs#L12-L13
The text was updated successfully, but these errors were encountered: