check_overshoots
Check overshoot values for round and pointed glyphs across masters, identifying missing or excessive overshoots before export. Optionally marks glyphs red or green to visualize pass/fail.
Instructions
Check overshoot values for round and pointed forms.
RECIPE: For a pre-export check, follow get_recipe("master_compatibility").
Round forms (O, o, C, S, etc.) should overshoot baseline and zone top by ~1-2% of zone height. Pointed forms (A, V, W) need MORE overshoot than rounds to appear optically aligned.
If no glyph_names provided, checks all known overshoot-sensitive glyphs in the font (O,C,D,G,Q,S,U,A,V,W,M,N,o,c,e,s,b,d,p,q,g,a,u,v,w,y + figures).
If master_id is omitted, analyzes ALL masters.
Does not modify glyph colors by default. When mark_glyphs=True, marks
missing/excessive overshoots red and passing glyphs green.
Args: glyph_names: Optional list of glyphs to check (default: all overshoot glyphs) master_id: Optional master ID (empty = all masters) mark_glyphs: Color glyphs by verdict only when explicitly requested
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| master_id | No | ||
| glyph_names | No | ||
| mark_glyphs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |