measure_stems
Measure vertical and horizontal stem thicknesses in a glyph using ray-casting, returning dominant values and range to verify stroke consistency before and after filter adjustments.
Instructions
Measure stem thicknesses in a glyph using ray-casting.
Casts horizontal and vertical rays through the glyph outlines to measure vertical stems (like the main strokes of n, m, h) and horizontal stems (like crossbars of e, A, H).
Returns: - Dominant (most common) vertical and horizontal stem values - Min/max range showing consistency within the glyph - Detailed per-ray measurements with positions
Use this BEFORE and AFTER applying RMX filters to verify the effect.
Examples: "How thick are the stems of R?" -> measure_stems("R") "What's the crossbar thickness of H?" -> measure_stems("H")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| samples | No | ||
| master_id | No | ||
| glyph_name | Yes |