mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 02:07:09 -06:00
The leading of a text object made from the file's text document was the distance between the first two lines of the file's own layout. Those lines are where the paragraph spacing has put them, and the text object applies that spacing again, so paragraphs with a space after (or before) came in with their lines too close (negative space) or too far apart (positive). The leading is now that distance less the space after the paragraph before and the space before the paragraph after; two lines of one paragraph have none between them. Tests on synthetic stories: negative and positive spacing, a frame scale, line breaks inside a paragraph, a single line. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>