analyze_kerning
Diagnoses kerning problems across masters—missing pairs, sign flips, outliers, redundant exceptions, and ungrouped glyphs—and outputs a markdown report.
Instructions
Analyze kerning quality across all masters.
RECIPE: For kerning from scratch, call get_recipe("kerning_from_scratch") first — it covers group assignment, critical pairs, and verification.
Checks for:
Cross-master missing pairs (pair in some masters but not all — causes interpolation jumps)
Cross-master sign changes (positive in one master, negative in another)
Outlier values (extreme kerning > 40% of UPM)
Redundant exceptions (glyph-level overrides that match group value — can be removed)
Group orphans (Letter glyphs missing kerning group assignments)
Returns a formatted markdown report without modifying glyph colors. When
mark_glyphs=True, marks cross-master issues red and warnings yellow.
Args: master_id: Optional master ID (cross-master checks always run across 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": "analyze_kerning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| master_id | No | ||
| mark_glyphs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |