vectorcraft/crates/text
imachus 2c8b8b0cc1 Type: Proportional Metrics in vertical type — upright glyphs on the font's proportional heights, `vpal` (#966)
The second half of #966. With Proportional Metrics on, a vertical segment is
also shaped top to bottom, with and without `vpal`: the difference gives
each glyph's change of advance down the column and its x and y placement.
An upright glyph (not tate-chu-yoko) in a font with vertical metrics takes
them on top of its cell, so it moves with its shorter cell; a font without
vertical metrics keeps `upright_cell`'s cell, and with the switch off
nothing is shaped twice and the column is as before.

As in horizontal type, Line-end Punctuation Half Width takes nothing more
off the punctuation `vpal` re-spaced and trims the punctuation it leaves
full height as before. Docs: mcp.md, and Proportional Metrics leaves the
missing lists in gaps.md, type-parity.md and target-app-parity.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 12:24:45 +07:00
..
build build(web): copy web fonts with cargo xtask, not sh 2026-10-09 17:18:54 +03:00
src Type: Proportional Metrics in vertical type — upright glyphs on the font's proportional heights, `vpal` (#966) 2026-10-11 12:24:45 +07:00
tests Fix #130: installed fonts are found by name whatever ran before 2026-10-06 00:49:06 +07:00
Cargo.toml Fix #443: installed fonts outside the font folders and fonts installed while the app runs reach the font menus 2026-10-08 14:03:53 +07:00
build.rs Build: generated sources are rewritten only when they change 2026-10-11 07:13:32 +07:00
web-fonts.txt build(web): copy web fonts with cargo xtask, not sh 2026-10-09 17:18:54 +03:00