Luciano Santos changed bug 1201056
What Removed Added
CC   c.chalu@free.fr, luc14n0@opensuse.org
Flags   needinfo?(c.chalu@free.fr)

Comment # 3 on bug 1201056 from
(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: