mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 09:21:55 +01:00
Three tests in crates/engine/src/tests/fontlist.rs read the process-wide font database twice while other tests in the same binary add fonts and composite fonts to it. A font added between the two reads made the lists differ, and the installed-family filter did not hide it, because fonts added with `add_font` count as installed. A stress run of the engine's font tests failed 4 times in 60. The font list, Show Similar Fonts and Refresh Font List tests now hold `test_fonts::steady_fonts` across their reads, as the font menu's tests do, and compare whole lists. The installed-family filter and the 20-try generation loop are removed.