fonttools / skia-pathops

Python bindings for the Skia library's Path Ops
https://skia.org/docs/dev/present/pathops/
BSD 3-Clause "New" or "Revised" License
47 stars 14 forks source link

support special TrueType paths with no on-curve points #66

Closed anthrotype closed 1 year ago

anthrotype commented 1 year ago

Fixes #45

https://github.com/fonttools/fonttools/discussions/3143#discussioncomment-6050355

cc @ftCLI

After this patch, running fonttools ttLib.removeOverlaps on AvenirLTStd-Book.ttf no longer raises TypeError and produces the expected result with the capital "O" glyph (which contains no on-curve points).