Skip to content
Patens

Self-intersecting contour

Auto-fix

Audit code: self-intersecting

Definition

A contour crosses itself. Rasterisers fill the overlap unpredictably depending on fill-rule (even-odd vs non-zero).

How Patens surfaces this

The Patens audit module checks for self-intersecting 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 self-intersecting 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