How to make fonts in Chromium/Atom more sharpen Linux 16.01.2017

chrome_icon.png May be you know that last version of Chromium disable DirectWrite and fonts become blurred in some environments. It affected Chromium, Atom and other applications that use Chromium engine. My note at bugs.chromium.org with screenshots.

You can also sign Bring sharp fonts back in Google Chrome (Disable DirectWrite) petition.

To resolve this issue we can either downgrade Chromium to 52 version or downgrade freetype2 to 2.6.5 (last version is 2.7.1). I downgrade freetype2 because I want last version of Chromium also we should downgrade harfbuzz because Audacious don't start with new harfbuzz wich depends on freetype2 :).

# step 1 downgrade freetype2
cd ~/temp
wget https://archive.archlinux.org/packages/f/freetype2/freetype2-2.6.5-2-x86_64.pkg.tar.xz
sudo pacman -U freetype2-2.6.5-2-x86_64.pkg.tar.xz

# step 2 downgrade harfbuzz
wget https://archive.archlinux.org/packages/h/harfbuzz/harfbuzz-1.3.4-1-x86_64.pkg.tar.xz
sudo pacman -U harfbuzz-1.3.4-1-x86_64.pkg.tar.xz

Last step is add freetype2 and harfbuzz to IgnorePkg in pacman.conf.

# sudo vim /etc/pacman.conf
IgnorePkg   = freetype2 harfbuzz