Skip to content
Patens

Contour winding collision

Auto-fix

Audit code: contour-winding-collision

Definition

A nested counter shares its outer contour's direction. Inner contours must run opposite for the counter to render as a hole.

How Patens surfaces this

The Patens audit module checks for contour-winding-collision across five teaching surfaces: the edit-panel inline issue list, the project-wide audit page, the release pre-flight check, the family hub, and the home-page project tile. Every surface shows the same plain-English explanation and links back to this page. This rule has a one-click Fix button in the editor — the audit module both detects the issue and applies a deterministic correction with a labelled snapshot, so the ⌘Z path back is preserved.

Run this check yourself

Patens runs every audit rule live as you draw — including this one. The editor (in private alpha) shows contour-winding-collision firing on real glyphs, or check your own work from the CLI:

npx patens audit your-project.font.json

Related rules in Contour shape

← All 94 audit rules