this post was submitted on 20 Jan 2024
31 points (94.3% liked)

Firefox

17899 readers
31 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

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

top 11 comments
sorted by: hot top controversial new old
[–] ULS@lemmy.ml 61 points 10 months ago (3 children)

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

[–] original_reader@lemm.ee 7 points 10 months ago* (last edited 10 months ago) (2 children)
[–] FireTower@lemmy.world 13 points 10 months ago

Comic sans is a perfectly valid font and exceptional at its intended role. But it is problematic when used in anything other than a very casual environment.

It's a great choice for something like a web comic. But not for a law firm.

[–] ULS@lemmy.ml 5 points 10 months ago

You're not my dad! 🥹

[–] fhqwgads@possumpat.io 37 points 10 months ago

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

[–] wesker@lemmy.sdf.org 25 points 10 months ago

have you tried

font-family: "Comic Sans MS", "Comic Sans"
[–] lnxtx@feddit.nl 7 points 10 months ago

Hmmm.

What do you get in the terminal:

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

?

[–] infinitevalence@discuss.online 5 points 10 months ago (1 children)

It's never been a very serious font anyway, so im not shocked it's not working anymore.