mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 10:17:02 -06:00
When type had used a font, removing the font while the app ran left it in the font menus, and the type kept drawing in it until the app restarted. The font list is the loaded faces plus the scanned catalog, and a scan replaced the catalog but kept every loaded face. A scan now drops each loaded face whose file it did not catalog, with the face's cached outlines. A family with no face left leaves the font lists, and type set in it lays out in the fallback font and is reported missing, as when a document opens without the font. When the font is installed again, the next scan lists it and the type draws in it again. Bundled fonts and fonts added as bytes have no file and stay. Docs: docs/mcp.md, docs/target-app-parity.md.