Closed Bug 1851493 Opened 1 year ago Closed 1 year ago

font rendering is bad on Firefox from Flathub

Categories

(Core :: Graphics: Text, defect)

Firefox 117
defect

Tracking

()

RESOLVED DUPLICATE of bug 1621915

People

(Reporter: salman, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

  1. install Firefox from Flathub on Debian 12 (Bookworm)

Actual results:

The font rendering of titles on Wikipedia is very bad.

Expected results:

It should be like other font renderings.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: Text' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: Text
Product: Firefox → Core

I don't know anything about "Flathub" but I'm assuming it's some kind of packaging setup that provides its own environment for the application, isolated from the host OS? So it probably has its own fontconfig configuration, and it looks like that must include some legacy bitmap X11-style fonts, in particular Times Roman (or a clone that is configured as a substitute for Times Roman in fontconfig), and so Firefox ends up using that.

So I think this is a packaging/configuration issue more than a Firefox one. We're just using the fonts as configured in the environment.

Thank you for your answer. Flathub is an official distribution channel for Mozilla Firefox on Linux.

https://support.mozilla.org/en-US/kb/install-firefox-linux#w_install-from-flatpak

I also believe that it is a packaging problem but because it is maintained by Mozilla I reported it here. Should I report it somewhere else?

See Also: → 1629811, 1839721

But it seems that this is the correct answer on Debian and OpenSUSE.

https://github.com/flatpak/flatpak/issues/4571#issuecomment-1606258732

It solved my problem with Firexfox and Thunderbird.

In Debian remove x11 fonts using:
sudo apt remove xfonts-base xfonts-100dpi xfonts-75dpi

In openSUSE based distros, use this code:
sudo zypper remove xorg-x11-fonts xorg-x11-fonts-legacy

See Also: → 1621915
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1621915
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: