[Bug 1201056] New: flatpak firefox from flathub chooses a bad quality helvetica font on some sites
http://bugzilla.opensuse.org/show_bug.cgi?id=1201056 Bug ID: 1201056 Summary: flatpak firefox from flathub chooses a bad quality helvetica font on some sites Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Firefox Assignee: factory-mozilla@lists.opensuse.org Reporter: c.chalu@free.fr QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 859931 --> http://bugzilla.opensuse.org/attachment.cgi?id=859931&action=edit bad display with Helvetica Font Hello, On Tumbleweed : firefox from flathub uses a bad quality helvetica font, while firefox from openSUSE repository uses Liberation. See the screenshots. I have the same issue with flatpak on Leap 15.4 On fedora kinoite, firefox from flathub uses Liberation font, there is not the same bug as on openSUSE. Test with : https://github.com/vkohaupt/vokoscreenNG Operating System: openSUSE Tumbleweed 20220628 KDE Plasma Version: 5.25.1 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.2 Kernel Version: 5.18.6-1-default (64-bit) Graphics Platform: Wayland Processors: 8 �� 11th Gen Intel�� Core��� i7-1165G7 @ 2.80GHz Memory: 7.5 Gio of RAM Graphics Processor: Mesa Intel�� Xe Graphics Manufacturer: Micro-Star International Co., Ltd. Product Name: Modern 15 A11M System Version: REV:1.0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201056 http://bugzilla.opensuse.org/show_bug.cgi?id=1201056#c1 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Andreas.Stieger@gmx.de Component|Firefox |GNOME Assignee|factory-mozilla@lists.opens |gnome-bugs@suse.de |use.org | --- Comment #1 from Andreas Stieger <Andreas.Stieger@gmx.de> --- similar to https://github.com/flatpak/flatpak/issues/2861 moving to gnome maintainers for flatpak / xdg-desktop portal. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201056 http://bugzilla.opensuse.org/show_bug.cgi?id=1201056#c2 --- Comment #2 from Lucie Charrier <c.chalu@free.fr> --- I remove adobe helvetica fonts and kept helvetica-converted. Display in firefox-flatpak is then ok. I have to delete this font after each upgrade. Do we really need adobe helvetica fonts in the system? Thank you -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201056 http://bugzilla.opensuse.org/show_bug.cgi?id=1201056#c3 Luciano Santos <luc14n0@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |c.chalu@free.fr, | |luc14n0@opensuse.org Flags| |needinfo?(c.chalu@free.fr) --- Comment #3 from Luciano Santos <luc14n0@opensuse.org> --- (In reply to Lucie Charrier from comment #0)
Created attachment 859931 [details] bad display with Helvetica Font
Hello, On Tumbleweed : firefox from flathub uses a bad quality helvetica font, while firefox from openSUSE repository uses Liberation. See the screenshots. I have the same issue with flatpak on Leap 15.4 On fedora kinoite, firefox from flathub uses Liberation font, there is not the same bug as on openSUSE.
I'm on Tumbleweed / Gnome and after installing Firefox from Flathub it uses the Liberation font here. Later I can do some testings with other kinds of installation to see if anything changes. (In reply to Lucie Charrier from comment #2)
I remove adobe helvetica fonts and kept helvetica-converted. Display in firefox-flatpak is then ok. I have to delete this font after each upgrade. Do we really need adobe helvetica fonts in the system?
Thank you
Can you state the exact name of the package which provides the helvetica font you mentioned? The only meaningful results returned by my searches were texlive-helvetic and texlive-helvetic-fonts. Without the package name I can't say what exactly is pulling it back with system upgrades but I can say it must be some Pattern you still have installed ('zypper patterns --installed-only' should tell you), maybe it's the "technical_writing" or "fonts" Pattern(s). I'm curious, do you have xdg-desktop-portal-gtk installed, by any chance? There's this upstream bug https://bugzilla.mozilla.org/show_bug.cgi?id=1621915 that presents a way to avoid bitmap fonts, which I think Helvetica is, using a ~/.var/app/org.mozilla.firefox/config/fontconfig/fonts.conf with the content: <?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> -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201056 Luciano Santos <luc14n0@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.mozilla.or | |g/show_bug.cgi?id=1621915, | |https://github.com/flatpak/ | |flatpak/issues/2861, | |https://github.com/flatpak/ | |flatpak/issues/1647 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201056 http://bugzilla.opensuse.org/show_bug.cgi?id=1201056#c4 Tobias Schula <tobias@schula.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tobias@schula.org Found By|--- |Community User --- Comment #4 from Tobias Schula <tobias@schula.org> --- The font shown in your screenshot is an old X11 bitmap font. The system fontconfig is set up in a way, that usually prevents its display, only programs that explicitly ask for it get to show it. That is the case for a lot of packages from the R universium unfortunately.
sudo zypper remove xorg-x11-fonts-legacy Reading installed packages... Resolving package dependencies...
The following 73 packages are going to be REMOVED: R-KernSmooth R-MASS R-Matrix R-R6 R-Rcpp R-askpass R-base ...
73 packages to remove.
So this is not a SUSE bug, as SUSE correctly prevents the display of the old X11 fonts via a configuration in fontconfig. It is a flatpak, or more specifically, a freedesktop-sdk bug. I have also reported this in the freedesktop-sdk bugtracker:
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/issues/1512
As a workaround you can run
sudo ln -s ../conf.avail/70-no-bitmaps.conf in the following directory /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/22.08/active/files/etc/fonts/conf.d
A bit more information: A lot of websites ask for "Helvetica" as their main font, because it is metrically compatible to Arial, but looks nicer in the eyes of a lot of designers. It happens to be installed on Macs, so Mac users get to see Helvetica instead of Arial. Unfortunately as a leftover from the days of Postscript printers, low storage and low computing power we still have the bitmap representations of a lot of the core Postscript fonts left on our computers. You can see the same Helvetica bitmap font in its full glory on this screenshot of NeXtStep 1:
https://winworldpc.com/screenshot/7ec28d05-e280-a6c2-af5f-11c3a4c2ac5a/6ef5e...
-- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com