mirror of
https://github.com/storytold/wordcraft.git
synced 2026-12-03 22:40:27 +00:00
A run font that isn't installed, has no font table alternate that can be drawn and isn't classed roman fell through lookup_family to the generic sans substitutes (Carlito, Helvetica Neue, Arial...), which on Windows, where Carlito usually isn't installed, land on Arial. Word for Windows 16.0.20625 draws such a font in Calibri for every family class but roman (swiss, modern, auto, decorative, script). lookup_family now looks it up as Calibri, which resolves to Calibri where it is installed and to Carlito or the generic list elsewhere. East Asian and complex-script fonts go through lookup_script_family, which keeps the alternate and roman rules but not Calibri, which has no CJK, Arabic or Hebrew. Thai, symbol, fallback lists and fonts with substitutes of their own keep their name as before. Co-Authored-By: Claude Opus 5.5 <[email protected]>