mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Shrink Text to Fit scales area type down at layout time, and the canvas, PDF export and the exports that write type as outlines draw it at that size. SVG export wrote the live text at its stored font size, letter spacing and baseline shift, so a viewer drew it larger than the canvas does. Legacy .ai saves wrote the stored size, leading and baseline shift into the text objects, DXF export took the TEXT heights from the stored size, and the CSS Properties panel gave the stored font size, letter spacing and line height. The text crate's scaled, which the layout scales shrunk text with, is now public. SVG export, legacy .ai saves and the CSS Properties panel take the type's styles from it at the layout's fit scale, and DXF export multiplies the TEXT heights by that scale. Positions and textLength in SVG still come from the layout. Docs: docs/target-app-parity.md.