vectorcraft/crates/text/src
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
..
composer.rs M7: Every-line Composer for ragged text 2026-10-08 14:03:33 -07:00
craft_fonts.rs build(web): copy web fonts with cargo xtask, not sh 2026-10-09 17:18:54 +03:00
edit.rs M7: inline symbols in text 2026-10-08 15:45:34 -07:00
embed.rs Fix #296: variable fonts list and draw every named style 2026-10-07 21:01:26 +07:00
features.rs Type: Proportional Metrics in vertical type — upright glyphs on the font's proportional heights, `vpal` (#966) 2026-10-11 12:24:45 +07:00
fontdb.rs Part of #394: Show Font Names in English labels the font menus. 2026-10-10 14:10:31 +07:00
hyphen.rs Hyphenation exceptions: unit tests read only their thread's list 2026-10-10 06:02:48 +07:00
layout.rs Type: Proportional Metrics in vertical type — upright glyphs on the font's proportional heights, `vpal` (#966) 2026-10-11 12:24:45 +07:00
lib.rs Fonts: missing fonts are listed when a document opens, with Find Fonts and a folder search 2026-10-10 08:42:32 +07:00
shape.rs Type: Proportional Metrics in vertical type — upright glyphs on the font's proportional heights, `vpal` (#966) 2026-10-11 12:24:45 +07:00
suitcase.rs Fonts: a folder search skips suitcase fonts whose resource fork is over 8 MB 2026-10-10 08:42:32 +07:00
test_fonts.rs Fix #813: type can name an installed version of its font 2026-10-09 19:26:51 +00:00
tests.rs Fix #847: draw Underline and Strikethrough 2026-10-10 06:03:04 +07:00
tests_bidi.rs feat(text): load craft-fonts' Arabic families, fetch them on web 2026-10-09 16:09:34 +03:00
tests_combos.rs M7: tests for the text engine features combined 2026-10-08 20:30:14 -07:00
tests_embed.rs Package: fonts found by any of their names are copied, and skipped fonts are named 2026-10-09 08:35:16 -07:00
tests_fit.rs #1034: scaled type shows and takes its scaled sizes 2026-10-11 07:00:34 +07:00
tests_inline.rs M7: inline art follows vertically aligned lines 2026-10-08 20:30:14 -07:00
tests_scripts.rs M4.20: Document Setup with bleed, transparency grid, paper and type options 2026-10-05 08:28:16 +07:00
tests_snap.rs M4.34: raster export options and PNG Options — resolution, background, anti-aliasing, interlacing 2026-10-05 09:14:11 +07:00
tests_sysfonts.rs Part of #394: Show Font Names in English labels the font menus. 2026-10-10 14:10:31 +07:00
tests_typo.rs 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_variable.rs Fix #296: variable fonts list and draw every named style 2026-10-07 21:01:26 +07:00
tests_versions.rs Fix #813: type can name an installed version of its font 2026-10-09 19:26:51 +00:00
tests_vertical.rs Type: Proportional Metrics in vertical type — upright glyphs on the font's proportional heights, `vpal` (#966) 2026-10-11 12:24:45 +07:00
thread.rs M7: inline symbols in text 2026-10-08 15:45:34 -07:00