mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-21 09:54:09 +01:00
Part of #4934. type.retype set a line spaced by tracking as one point type object per glyph, since untracked type does not draw the glyphs where the outlines are. - A line of three or more glyphs that most gaps space evenly apart now takes that spacing as its tracking (1/1000 em, tried rounded to a whole number within 0.05, then as measured). The font's advances and pair kerning are left out of the measure, and word spaces are counted after the tracking. When untracked type also draws the line, the line stays untracked if the tracking is under one unit or the tracked type would drop a gap one space wide, so "a b c" stays "a b c". Negative tracking is set only on opaque, Normal lines with a solid fill or none and no stroke. - Where a line splits, the glyphs after the split take the tracking their own gaps give, and a tracked line whose type misplaces its first glyphs is set again without tracking. The measure has a layout budget, so long or widely spaced lines are bounded. - The result's fonts entries add tracking. These rules are VectorCraft's own. Docs: docs/mcp.md (Retype tracking), docs/type-parity.md (Retype row), docs/target-app-parity.md, docs/roadmap.md (M7 row).