Files
craft-libs/crates
dotCooCoo d38fa97402 font-catalog: generic_family names the installed sans-serif, serif, monospace or system-ui family
Catalog::generic_family(Generic) returns the installed family to draw
with when a caller has no family name, or the one it has is not
installed. With the system feature it takes the first family the
platform's font service lists for the generic family that the catalog
has (fontconfig's configured aliases on Linux and FreeBSD). Otherwise it
takes the first installed family of a fixed list for the catalog's
platform, then of the other platforms' lists. SystemUi tries the
platform's sans-serif families before the other platforms' lists. Names
are looked up as resolve() looks them up, so a legacy family name finds
its family, and added faces count.

The fonts example prints the four answers.
2026-11-20 11:27:57 -08:00
..
2026-11-14 17:49:47 +01:00
2026-11-13 01:31:26 -05:00
…