Weird characters appearing in Firefox on some web pages

On some web pages I see the following in Firefox, where every character on the page is displayed as a lowercase “d” with a cross through it:

This is with Firefox 133.0.3 (64-bit) running under Gnome (Wayland) on Fedora 40. Firefox was installed using the rpm package from Fedora.

Any idea what could cause this?

What URL do you see this on?

I’ve seen it on several pages, none of which have much in common with each other. Here’s an example of one of them:

That URL displays normalling on my Gnome F40 VM.

Seems there is something wrong with your install.

Is your system up to date? If not please update it and try again.
Have you changed the fonts that Firefox uses?

System is mostly up to date. I’ve updated a couple times since I first experienced this problem. There are a handful of new updates that have appeared since but none that appear related to Firefox or fonts.

I have not customized the fonts in Firefox that I recall.

Tried creating a new profile in Firefox (so none of my extensions or customizations are loaded) and the problem is still present.

Tried creating a new user account and visiting the page from there. The page displayed normally. So it seems the cause is a user setting that is external to Firefox. I do not recall customizing fonts in Gnome however.

Maybe a corrupt/bad file under ~/.fonts?

1 Like

Ah, that was it. I renamed ~/.fonts to ~/.fonts-bak and the page displays normally now. Any idea how to figure out which file is responsible? I have 70 files in there…

`

I found a way. Used the inspector in Firefox to identify which font was being used in the elements that failed to display. It was “Lucidia Grande.” So I removed all the files related to Lucidia Grande from ~/.fonts and that enabled the text to display normally.

2 Likes