Why has Comic Sans stopped working?

subarctictundra@lemmy.world to Firefox@lemmy.ml – 34 points –

Hello everyone.
I'm trying to style a web page to use Comic Sans. This has worked in the past as I have the font installed on my system (Fedora 38), and I know that Firefox can see it because it can be selected as an option for the default font:

However when I try to use it in CSS, it is not recognized:

I checked and other fonts are not affected:

I can't use the Impact font either. Both work under Chrome.
Does anyone have a clue about what could be going on?
Thanks

12

It's been banned world wide. Along with papyrus.

You need quotes around the font name. Courier works because it's one word.

This is the right answer!

I keep reading that people hate CSS, but it's my favorite markup language.

People are probably just frustrated with it because they didn't learn it properly. But that applies to any other language too.

CSS is fucking awesome!

Hmmm.

What do you get in the terminal:

fc-match 'Comic Sans'
fc-match 'Comic Sans MS'

?