mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 13:08:59 +00:00
Tsume no longer stops at horizontal type. In vertical type an upright character loses its share of the blank space above and below its ink, inside its cell down the column (the font's vertical metrics, else at least one em, with the Proportional Metrics change), in point type and on a path. A character lying on its side is measured along its own width, and the characters of a tate-chu-yoko block close up across the column while the block keeps its one em. Tsume now measures what a glyph paints: its COLR or SVG art, else its color bitmap, else its outline, so a color glyph is no longer measured by the outline its art replaces. Docs: docs/mcp.md, docs/target-app-parity.md, text.setRangeStyle and text.setFormat params.