Open Bug 1629811 Opened 5 years ago Updated 1 year ago

Font rendering is clunky in Flatpak release

Categories

(Core :: Layout: Text and Fonts, defect, P3)

75 Branch
defect

Tracking

()

People

(Reporter: dominik+foss, Unassigned)

References

Details

Attachments

(1 file)

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

Steps to reproduce:

I installed Firefox from Flathub (as Flatpak package) and visited some websites.

Actual results:

Parts of text look clunky, including some from the PDF viewer. For now I have noticed this behaviour only with Helvetica font but I am far from calling it the only affected as I have been browsing for about a day now and I don't know what was the PDF made from.

Expected results:

Text should look smooth. I did not encounter this problem while using Firefox from Debian repo.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

This may well be a duplicate of bug 1561468 but I decided to report it anyway as Flatpak is not Snap and AFAIK only the first one is officially distributed by Mozilla.

FYI Flatpak recently also became officially supported:

https://flathub.org/apps/details/org.mozilla.firefox
Publisher: Mozilla

Thank you, maybe I did not phrase that in the clearest way possible but this fact was exactly what I was referring to.

Summary: Font rendering is clunky in Flatpak release (Helvetica only?) → Font rendering is clunky in Flatpak release

I noticed that Times is also affected so the original title was redacted.

Priority: -- → P3

Resetting severity to default of --.

Isn't this a duplicate of bug 1621915?

I can confirm (for example fonts on https://github.com are very chunky).
Flatpak Firefox 76.0.1 build on Debian 10 with LXQt.

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3

Ensure that you have xdg-desktop-portal and xdg-desktop-portal-gtk installed, even if you prefer to use xdg-desktop-portal-wlr: https://github.com/emersion/xdg-desktop-portal-wlr/issues/80

(In reply to jokeyrhyme from comment #10)

Ensure that you have xdg-desktop-portal and xdg-desktop-portal-gtk installed, even if you prefer to use xdg-desktop-portal-wlr: https://github.com/emersion/xdg-desktop-portal-wlr/issues/80

I have the same issue on openSUSE Tumbleweed (a rolling release) and when I checked the mentioned packages, they are installed on this system and I have the same font issue.

However, I have read a comment on Reddit claiming this issue is fixed by putting "<?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <!-- Disable bitmap fonts. --> <selectfont><rejectfont><pattern> <patelt name="scalable"><bool>false</bool></patelt> </pattern></rejectfont></selectfont> </fontconfig> " into "/.var/app/org.mozilla.firefox/config/fontconfig/fonts.conf" and the issue is indeed fixed.

I don't know if this fix introduces a problem for users therefore it wasn't included in Firefox flatpak.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: