mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-23 02:44:24 +01:00
An even-odd compound paints the same whichever way each contour runs, so an o's counter may run the same way as its outer contour. Such a part matched neither as it is nor with all its contours reversed, and stayed an outline at tolerance 0. A part of a split compound is now also read with each contour turned the way its depth gives (outer contours one way, their counters the other), both ways round. In a nonzero compound those contours paint the counter, and the painted-area check still keeps the part an outline. The containment test that splits a compound into glyphs moves into its own function, `containers`, which the new reading also calls. Docs: docs/mcp.md, docs/type-parity.md.