mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-30 12:57:28 -06:00
#1942 stopped tabs from shaping as .notdef by laying them out as a space, so a tab was only one space wide. Layout now widens each tab to the next default stop (every 36 pt, from the anchor of point text or the left edge of the box). Paragraph text breaks lines with the real tab widths: it starts from a safe upper bound (space + one interval) and re-breaks until the widths agree, so expanded tabs never overflow the box and lines don't wrap early. The text keeps its \t, so PSD round trips are unchanged. Tab in the Type tool now types a tab. Co-authored-by: Fabio Lussi <198260595+itrycodinganditsbad@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>