figcraft/crates/text/src
bflatastic f77d9a467e M3: text metrics: whole-pixel line heights, advances on a 1024-per-em grid, letter spacing between glyphs only
Measured against documents re-saved by other software. A line's height is rounded to whole
pixels (halves up) with the baseline keeping its fraction inside it; a glyph's advance and its
kerning are each rounded to 1/1024 em before scaling; a line's width and wrapping leave out the
letter spacing after its last visible glyph. Rule tests on built-in fonts, a local-only check over
such documents, and three behaviour expectations updated to the new rules.
2026-10-12 17:54:18 +07:00
..
behaviour_tests.rs M3: text metrics: whole-pixel line heights, advances on a 1024-per-em grid, letter spacing between glyphs only 2026-10-12 17:54:18 +07:00
breaks.rs M4: text behaviour suite: metrics, line height, CJK (#134) 2026-10-11 22:09:46 +07:00
cache_tests.rs M7: performance: retained canvas renders, virtual layers panel, shared text layouts, cargo xtask bench (#35) 2026-10-10 05:19:05 +07:00
display.rs M3: text depth: RTL names, text style browser, axis previews (#72) 2026-10-10 13:03:09 +07:00
display_tests.rs M3: text depth: RTL names, text style browser, axis previews (#72) 2026-10-10 13:03:09 +07:00
fontdb.rs M7: headless renders use system fonts 2026-10-12 09:32:42 +07:00
fontdb_tests.rs M7: headless renders use system fonts 2026-10-12 09:32:42 +07:00
layout.rs M3: text metrics: whole-pixel line heights, advances on a 1024-per-em grid, letter spacing between glyphs only 2026-10-12 17:54:18 +07:00
lib.rs M3: text metrics: whole-pixel line heights, advances on a 1024-per-em grid, letter spacing between glyphs only 2026-10-12 17:54:18 +07:00
list_tests.rs M4: rotated frame labels; right-to-left list markers (#95) 2026-10-10 21:58:01 +07:00
metrics_tests.rs M3: text metrics: whole-pixel line heights, advances on a 1024-per-em grid, letter spacing between glyphs only 2026-10-12 17:54:18 +07:00
onpath.rs M4: text on a path and pattern fills (#118) 2026-10-11 13:25:33 +07:00
onpath_tests.rs M4: text lists, hanging punctuation and decoration styles 2026-10-12 02:09:10 +07:00
rtl_list_tests.rs M4: rotated frame labels; right-to-left list markers (#95) 2026-10-10 21:58:01 +07:00
tail_tests.rs M4: text lists, hanging punctuation and decoration styles 2026-10-12 02:09:10 +07:00
tests.rs M4: arrow keys move visually through right-to-left text (#44) 2026-10-10 06:26:26 +07:00