mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-10 12:20:12 -06:00
layout, layout_para, layout_equation and mark_text_width call test_fonts() first in test builds, so the shared lay helper and everything that goes through them is covered. Tests and helpers that look up fonts directly (the Times New Roman substitute test, the Symbol bullet test, the Arabic/Myanmar/Thai face probes and the nbsp fixture) call it themselves. Audited by running every layout test in its own process with a temporary guard that panicked on any global font access before the pinned fonts were installed. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>