mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-12 00:44:27 -06:00
layout, layout_para and layout_equation call crate::test_fonts() first in test builds, so no test can reach font lookup through them before the pinned fonts are installed. Tests and helpers that look up fonts directly (word::resolve, FontDb::global, the nbsp fixture) call it themselves. Fixes init_test_fonts() returning false when an uninitialised test ran first in a shared process. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>