mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-24 10:46:50 -06:00
Narrow columns with tall, upright headers (mark sheets) set both a text rotation and Wrap Text. The wrap path drew the text flat and returned before the rotation was applied, so headers came out as 3-4 character fragments. - Rotated text no longer takes the flat wrap path. Upright (+/-90 deg) text wraps to the row height, its lines stacking across the column; other angles keep one line, as before. - Downward text was anchored at the bottom-left and ran out of the cell (over the row headers); it now starts at the top, one block-height in. - Upright text no longer overflows into empty neighbours: its width is its line height, and the overflow repainted their gridlines. - Print/PDF gets the same three fixes. Tests: ui-egui interaction test (shapes drawn at +/-90 deg, inside a one-column clip) and a print test (every text block on the page rotated, a few long lines each). Each failed before the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>