vectorcraft/crates/text/src
imachus 621e1a6640 Type: Proportional Metrics — full-width glyphs on the font's proportional widths, `palt` (#966)
A character attribute (Character panel menu with the East Asian options;
`text.setFormat` / `text.setRangeStyle {proportionalMetrics}`), saved only
when on. In horizontal type it applies `palt`; vertical type sets as before
until the vertical shaping change (`vpal`) follows.

Line-end Punctuation Half Width takes nothing more off the punctuation
`palt` re-spaced (the flush opening bracket, consecutive punctuation, the
line-end half width): the segment is shaped once more without `palt`, and
the glyphs whose advance differs are marked. Punctuation the font leaves
full width is trimmed as before. SVG writes `"palt" 1` with the
character's other features.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 07:00:35 +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 — full-width glyphs on the font's proportional widths, `palt` (#966) 2026-10-11 07:00:35 +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 — full-width glyphs on the font's proportional widths, `palt` (#966) 2026-10-11 07:00:35 +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 — full-width glyphs on the font's proportional widths, `palt` (#966) 2026-10-11 07:00:35 +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 — full-width glyphs on the font's proportional widths, `palt` (#966) 2026-10-11 07:00:35 +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 Merge remote-tracking branch 'origin/main' into land/723 2026-10-09 15:52:10 +07:00
thread.rs M7: inline symbols in text 2026-10-08 15:45:34 -07:00