Master references unknown axis
Audit code: master-axis-unknown
Definition
A master's location references an axis tag the project doesn't declare. The unknown axis is ignored at export — fix by adding the axis to project.axes or removing it from the master's location.
How Patens surfaces this
The Patens audit module checks for master-axis-unknown 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 is detection-only — there's no automatic fix because the
correction is design-dependent (it requires a judgment call about the
glyph's intended shape or the font's intended behaviour). The audit
message links to the specific glyph or field that needs attention.
Run this check yourself
Patens runs every audit rule live as you draw — including this one.
The editor (in private alpha) shows master-axis-unknown firing on real
glyphs, or check your own work from the CLI:
npx patens audit your-project.font.jsonCanonical references
Primary literature where this rule is established or explained. Drawn from the open-licensed corpus — browse the full 42-source canonical library or read the research artifact.
- OpenType Specification 1.9.1 ↗
Microsoft Typography · 1997 · Microsoft Corporation· § fvar — VariationAxisRecord
Master locations must reference axes declared in the fvar table; orphan axis references are dead specifications.
Related rules in Variable-font compatibility
master-axis-missingMaster missing axis valuemaster-axis-out-of-rangeMaster axis value out of rangemaster-contour-countMaster contour count mismatchmaster-point-countMaster point count mismatchnon-compatible-glyphNon-compatible glyph (winding / components)opsz-without-cap-x-divergenceopsz axis vacuous (no distinct opsz masters)stat-format-mismatchSTAT italic axis uses wrong formatstat-instance-name-mismatchSTAT composed name does not match fvar instancestat-missingSTAT table missing (familyAxes unset)