Files
vectorcraft/crates
dotCooCoo adda7c1c6e Tests: font changes on other threads wait while a Type layout count runs
The Type overlay layout-count tests in vectorcraft-tools held a read lock
that only tests which add fonts or change hyphenation exceptions take for
writing. Other tests still load system fonts on demand (a fallback for a
character no loaded font covers, a cataloged family on first use), which
changes FontDb::global()'s generation, the key of every kept frame layout.
type_overlays_keep_at_most_frame_layouts_max then laid out 2051 frames
instead of 2 in 18 of 21 full `cargo test -p vectorcraft-tools --lib`
runs on Linux.

vectorcraft_text::test_fonts::steady_fonts (test and test-fonts builds
only) now holds back font changes on other threads: adding faces, a
rescan and setting or removing a composite font wait before they publish
anything. A first scan does not wait, and steady_fonts catalogs the
database before it returns. steady_layout_inputs() takes it for the
global database. With it, 0 of 20 full runs failed.
2026-11-20 15:40:31 -08:00
..
2026-11-19 15:24:38 +07:00
2026-11-19 06:39:02 -08:00
2026-11-20 06:07:45 +07:00
…
2026-11-19 06:08:29 -08:00
2026-11-20 06:07:45 +07:00