has reached the end-of-life and is now read-only. Please see the EOL announcement for details

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.

@matt this is on my website homepage. i wanted the comic sans actually, but some browsers just make my website fancy cursive for no reason

@xyzzy Ah yeah, I get comic sans on my computer but cursive on my phone

Your CSS has {font-family:"Comic Sans MS", Comic Sans, Cursive;} it's falling back to cursive because it doesn't have comic sans. I don't know how to find out what fonts android uses, but changing it from cursive to "casual" might get you better results

@matt tysm i’ll try it! “cursive” was suggested as the fallback when i was looking up css font resources years ago when i made this page but i probably should just use something else bc i’m not here for my website looking like a wedding invitation

@matt also i just realized this means you looked at my absurdly jank webpage source lmao i am so sorry

@xyzzy Haha I promise it's no worse than mine, my CSS is always a disaster

@matt i feel like i never actually learned css, i just find code bits on the internet, smash them together, and pray,

Sign in to participate in the conversation

the mastodon instance at is retired

see the end-of-life plan for details: