check_compatibility
Verify glyphs across masters for structural compatibility: paths, nodes, components, anchors. Optionally color-code results to identify incompatible or missing drawings before export.
Instructions
Check master compatibility across all glyphs in the font.
RECIPE: For a complete pre-export check, call get_recipe("master_compatibility") first — it includes metrics interpolation and alignment zone verification.
Compares layers across masters for each glyph, checking:
Path count, node count, node types, path directions
Path order (spatial position must match across masters)
Starting node positions
Component count and names
Anchor names
Does not modify glyph colors by default. When mark_glyphs=True, marks:
Red (0) = incompatible (structural mismatch between masters)
Orange (1) = empty or missing drawing in one or more masters
Green (4) = fully compatible
Args: glyph_names: Optional list of glyphs to check (default: all glyphs) mark_glyphs: Color glyphs by verdict only when explicitly requested
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glyph_names | No | ||
| mark_glyphs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |