mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-28 12:27:11 -06:00
Finding 36. kurbo's dash iterator stops advancing when a dash is so small that subtracting it from the segment length changes nothing (and loops on negative entries), so a document dash pattern like [1e-30, 1e-30] hung the renderer. Before calling kurbo, safe_dashes drops a pattern that is negative, non-finite, zero-length, or would cut the stroke into more than 100 000 pieces for its path's length bound; the stroke is drawn solid. kurbo is unchanged; normal patterns dash as before. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>