mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-24 10:27:44 -06:00
* #848: font list previews no longer load every family they show The Font box drew each entry in its own face through the full layout pipeline, which loaded the whole family into the font database for good (faces are never unloaded). Every trip through the list kept tens of megabytes. Entries are now drawn with FontDb::preview_face: a loaded family's face is shared, an installed one is read into a face the database doesn't keep and is freed when dropped, and render_text_line draws it without the shared outline cache. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Font preview test tolerates other tests loading fallbacks; gaps rows 1–3 de-duplicated, #848 noted in row 3 --------- Co-authored-by: Dmitrii Khlapov <19991457+dkhlapov@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>