mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-26 02:47:07 -06:00
The font menu's preview samples, family list and localized names were cached on fonts::generation(), which any FontDb moves, and the previews also on the served catalog's generation. Other engines registering fonts (tests running in parallel) re-rendered every visible sample each pass, and families covering Arabic asked for a repaint, so Harness::run never settled: options_font_family_preserves_peer_faces_and_batches_layer_flags and the font picker tests failed intermittently with "exceeded max_steps". - photocraft-text: fonts::shared_generation(), moved only by the shared engine's FontDb (FontDb::mark_shared from new_shared). - ui-egui: families(), localized_families() and the preview cache key on it; previews no longer key on the served catalog (a served family's sample appears when its fonts register, which moves the generation). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>