text_fonts

module fallbacksource

Fallback to the system's fonts (decisions/F10.md, question 1A): the platform names the font for a character the style's face lacks, text reads it. Linux asks fontconfig, Windows DirectWrite's system font fallback, macOS Core Text; a web page is given no fonts, so a program names files to fetch (fonts.fetch), served beside it. Fonts made by Fonts::bundled() never ask the system. A font picked is read whole from its file the first time and kept for the program's life, a family of its own whose face is placed at the style's weight and size as any variable face is; answers are cached per script, language, weight and block of 256 characters (and per character where a block's answer lacks one), and a font picked for a script is tried first for that script's next characters.