mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 10:17:02 -06:00
`tests_alternate`'s Arabic tests look up installed fonts by name (`FontDb::face`), which loads each one into the global database and so changes its generation, without `tests_fontchange::adding_fonts()`. When that lands in the first frame of `tests_charstroke::character_stroke_outlines_are_kept_between_frames`, the second frame lays the type out again and expands the stroke again, and the test fails (3 runs in 30 on macOS, where Arial and Geeza Pro are installed; where no Arabic font is, those tests return early and nothing changes). They now hold the lock, and its documentation says looking up an installed font counts as changing the fonts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>