Off-grid points
Auto-fixAudit code: off-grid-points
Definition
Point coordinates are fractional. Most renderers round to integer font units anyway — snapping explicitly avoids subpixel surprises.
How Patens surfaces this
The Patens audit module checks for off-grid-points 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 off-grid-points firing on real
glyphs, or check your own work from the CLI:
npx patens audit your-project.font.json