mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
Block sets each character's leading to its size plus the frame's Line Gap and fits the text again after every edit, so a leading set from the Character panel, the Properties panel, the Type tool's Alt+arrow steps, a character style, the Eyedropper or Text Tweaker was accepted and then overwritten. On area type with Block on, a leading change now sets the Line Gap to the new leading less the size of the first character changed, within -1,296 to 1,296 pt, in the same undo step, and every line spreads or tightens by the change. text.setStyle and text.setRangeStyle take keepLineGap, which Reset Panel sends, so a reset to Auto leading keeps the frame's Line Gap. Point type, type on a path and area type with Block off keep their own leading.