Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Comments on How do I fix Firefox fonts having extra spacing and weird numbers on Ubuntu?

Post

How do I fix Firefox fonts having extra spacing and weird numbers on Ubuntu?

+4
−0

After upgrading one of my computers to Firefox 99.0.1 on Ubuntu, it's started rendering some fonts—specifically DejaVu Sans and Arial, although there may be others—incorrectly. The actual words are fine, but everything has about 14px of extra spacing after every word, and all the numbers are rendering as what appear to be emojis, though not like any emoji number I've seen before. All numbers are just oddly-spaced gray images with gradients.

It happens in webpages using one of those two fonts and in the UI elements. It happened on both Ubuntu 21.10 and 22.04. It doesn't happen in any other program, just Firefox. I've tried uninstalling and reinstalling it.

Screenshot of Firefox showing text issues

Does anyone know how I can fix this?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

Maybe `fc-cache rebuild` is worth a try (here some background info on the command https://www.geeksfo... (1 comment)
Tried moving ~/.mozilla out of the way? (1 comment)
Tried moving ~/.mozilla out of the way?
Canina‭ wrote over 2 years ago

Firefox stores your profile with settings in a hidden directory named .mozilla (actually .mozilla/firefox/<something>) under your home directory; in *nix parlace, ~/.mozilla). If you uninstall and reinstall the browser through the package manager, that would normally leave that directory untouched. Have you tried moving it out of the way and let Firefox create a brand new profile uncontaminated by anything previous? Doing so will completely reset your browser including bookmarks, settings, themes and add-ons, which will tell us if there's something funky about your browser profile or if it is actually something on your system that causes this.

In a terminal, try: mv -v ~/.mozilla ~/.mozilla.286378 (the numbers being the post ID for this question, since that seems reasonably likely to be unique; you can substitute something else if you want to.)

Renaming instead of deleting will allow you to easily restore everything later.