Learned that one of the values you can use with "font-family" is "cursive". Whatever font this gives you on android looks as you'd expect, but firefox and/or linux interprets this as... comic sans?? :sa_confused:

@matt You stand on the edge of a deep pit of awful Linux jank.

The decision of what "cursive" means comes down to a thing called fontconfig. If you look in /etc/fonts/conf.d you'll see a ton of files loaded in a hierarchy with XML trees defining "families". When a family is called, the systems tries font by font defined here and uses the first match it finds.

Comic Sans is font No 3 in my config, after two others I know are not installed.

@trysdyn :oof:

Looks like it's the same on mine. What a bizarre series of decisions. like... why have comic sans at all, why define it as "cursive", why not include the other two :psyduck:

@matt Good questions that likely have very, very long answers. Largely the decision on what fonts come stock in a linux box is up to the distro maintainer. Ubuntu actually used to (and maybe still does) make their own fonts and patch fontconfig to act differently so it'd have unusually high quality and Windows-like text rendering.
Sign in to participate in the conversation

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!