check_diagonal_weights
Checks diagonal stroke weight consistency and ratio to vertical stems across glyphs and masters. Optionally marks inconsistent glyphs for review.
Instructions
Check diagonal stroke weight consistency and ratio to vertical stems.
Measures perpendicular thickness of diagonal strokes (V, A, W, X, Y, Z, v, w, x, y, z, k, M, N) and checks:
Related diagonal groups are consistent (V≈A≈W, v≈w≈y, etc.)
Diagonal/straight ratio within professional range (typically 85-100%)
If no glyph_names provided, checks all diagonal glyphs. If master_id is omitted, analyzes ALL masters.
Does not modify glyph colors by default. When mark_glyphs=True, marks
inconsistencies red, ratio 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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| master_id | No | ||
| glyph_names | No | ||
| mark_glyphs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |