mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Each style run was shaped on its own, so restyling one character, even only its fill, dropped the font's kerning pairs at the new run boundaries. A fill change on the V of 40 pt "AVAV" moved it 0.56 pt and moved the characters after it 1.12 pt. Manual kerning on a character also dropped the font's kerning with the character before it. Adjacent runs that differ only in fill, stroke, underline, strikethrough, overprint, character style name, leading, baseline shift, rotation, Character Alignment, kerning, or tracking (as long as both values leave standard ligatures on or both turn them off) are now shaped together, and each glyph takes those attributes from its own run. The font's kerning pairs apply after characters with automatic kerning: a manual value replaces the pair after its character, and the pair before it stays, except before a character that All Caps or Small Caps sets as two letters (ß as SS). A change of font, size, scale or OpenType features still shapes the characters apart, and a ligature or a mark still does not join characters in different styles. Docs: docs/target-app-parity.md.