mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-24 10:46:50 -06:00
Text turned by an angle was drawn at a fixed anchor (bottom-left for upward, top-left for downward text) and ignored the horizontal and vertical alignment, so upright text with Middle Align in a tall merged cell sat at the bottom. rotated_text_pos places the turned galley's bounding box in the cell per the alignment, then derives the TextShape anchor from it. General/Bottom keep the old placement for upright text. Fixes #435 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>