I'm facing font issue after updating Firefox ESR to latest Firefox on Debian Stretch.
Following top voted comment on this Reddit question I set up
unstable repository, removed
firefox-esr and installed
firefox package with apt. While
firefox was installing, I got a popup from apt, saying the following:
fontconfig (2.12.3-0.2) unstable; urgency=medium Starting with version 2.12, fontconfig is using "Slight" (hintslight) as automatic hinting style. This might change the rendering of the fonts. If you want the to restore the old hinting, run "dpkg-reconfigure fontconfig-config" and select "Full" as hinting style. -- Laurent Bigonville <[…]> Tue, 04 Jul 2017 21:10:57 +0200
The installation followed and after it finished fonts in my terminal broke immediately, some letters were overlapping others, font was thinner. So I followed the message and run
sudo dpkg-reconfigure fontconfig-config. Now my terminal fonts are fine, but example page I see in Firefox (63.0.1-1) is below:
Everything else (including Firefox's menu/settings fonts etc) in the system displays correctly. How can I fix this? I tried to run
sudo apt-get install -t stable fontconfig-config=2.11.0-6.7 to downgrade fontconfig/libfontconfig1 to previous version, but apt showed me that it will remove 592 MB disk space, including system-related stuff (list here).
How can I fix all that? Ideally having Firefox 63 and good fonts everywhere, if not possible then revert to old Firefox ESR setup.