3

I install firefox «Quantum» 60.0.2 (64bits) on Debian GNU/Linux Stretch via snap, follow this and I have big font rendering problems with this version of Firefox. Here a screen cap of Jupyter Notebook header with Firefox Quantum and here a screen cap of the same page with Firefox ESR. I try all solutions I could find :

  • add a .fonts.conf like this;

  • change gfx.canvas.azure.backends and gfx.content.azure.backends from skia to cairo first, and to direct2d1.1,cairo,skia finally;

  • try to deactivate graphic acceleration;

  • set the same font as default (serif 16, serif, sans-serif, monospace 12).

But nothing works ! Perhaps I miss something but I couldn't find anything else.

2
  • Fill a bugreport, if you've found a bug. Commented Jun 26, 2018 at 14:16
  • I'm not sure it's a bug yet. I have post the same question in mozilla support forum.
    – arnome
    Commented Jun 26, 2018 at 14:47

2 Answers 2

1

1 - In your user directory, create a nex subdirectory: mkdir -p ~/.config/fontconfig

2 - With a text editor, create the file font.conf (~/.config/fontconfig/font.conf) and paste this content : <?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <match target="font"> <edit mode="assign" name="rgba"> <const>rgb</const> </edit> </match> <match target="font"> <edit mode="assign" name="hinting"> <bool>true</bool> </edit> </match> <match target="font"> <edit mode="assign" name="hintstyle"> <const>hintslight</const> </edit> </match> <match target="font"> <edit mode="assign" name="antialias"> <bool>true</bool> </edit> </match> <match target="font"> <edit mode="assign" name="lcdfilter"> <const>lcddefault</const> </edit> </match> </fontconfig> Save this file (~/.config/fontconfig/fonts.conf)

3- Restart Firefox.

0

I change the install method and choose to download the .tar.bzip2 archive directly from mozilla. I put the firefox/ dir in /opt create a link : >sudo ln -s /opt/firefox/firefox /usr/bin/firefox-quantum and add a specific firefox-quantum.desktop file in /usr/share/applications/ folder and no more font rendering problems.

arnome.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .