mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-01 22:19:23 +00:00
clear_layout_cache now bumps the layout generation while it holds the cache lock, and layout_cached records the generation a layout was begun in and refuses to cache it if the generation moved meanwhile. A layout made with the old fonts on another thread is still returned to its caller but is no longer served to later lookups.