compare_proportions
Audit glyph width proportions for consistency by flagging mismatches in mirrored forms, width ordering, and industry ranges.
Instructions
Compare width proportions across glyphs within a font.
RECIPE: For a full consistency audit, follow get_recipe("audit_consistency").
Checks three things:
Related-form groups: b≈d≈p≈q (mirrored), h≈n≈u (arch), O≈Q, etc.
Width ordering: m>n>r, W>H>I — flags violations
Industry ranges from 18 professional fonts — flags outliers
References: n for lowercase, H for uppercase/figures.
If no glyph_names provided, checks all LC + UC + figures. If master_id is omitted, analyzes ALL masters.
Does not modify glyph colors by default. When mark_glyphs=True, marks
inconsistencies red, range warnings yellow, and passing glyphs green.
Args: glyph_names: Optional list of glyphs to check master_id: Optional master ID (empty = all masters) mark_glyphs: Color glyphs by verdict only when explicitly requested
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compare_proportions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| master_id | No | ||
| glyph_names | No | ||
| mark_glyphs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |