<!-- 
.. title: The end of infinality
.. slug: the-end-of-infinality
.. date: 2017-01-09 20:05:46 UTC
.. tags: archlinux, debian, desktop
.. category: 
.. link: 
.. description: 
.. type: text
-->

If you use Archlinux and the [infinality](http://pdes-net.org/cobra/posts/crispy.html) bundle from [bohoomil's repository:](http://bohoomil.com/) yesterday's update of harfbuzz from 1.3.4-1 to 1.4.1-1 may break [important](https://bbs.archlinux.org/viewtopic.php?id=221644) [parts]() of your setup. The reason is that infinality uses an outdated version of freetype2, and at present [it seems unlikely whether we will ever see an update](https://wiki.archlinux.org/index.php/Infinality):

> Reason: Infinality is dead both upstream and with the downstream maintainer bohoomil, and differences with freetype upstream become small as development progresses

For details, see [here](https://www.freetype.org/index.html#news) and [here.](https://www.freetype.org/freetype2/docs/subpixel-hinting.html)

Instead of downgrading harfbuzz, I thus [reverted](https://wiki.archlinux.org/index.php/Font_configuration/Examples#Patched_packages) to the stock versions of freetype2, fontconfig, and cairo:

	pacman -S --asdeps lib32-freetype2 lib-32cairo lib32-fontconfig
	pacman -S --asdeps freetype2 cairo fontconfig

The first one only applies if you have the 32-bit multilib-packages installed as required, for example, for steam.

I have not yet replaced the fonts nor is there any immediate need to do so. In fact, the current stock freetype2 seems now to offer an equivalent quality of font rendering as the previous freetype2 with the infinality patchset. Excellent!

___________________________________

I've just checked and found that the situation is even worse for Debian: on my mini (running Stretch/Sid), the installed version of freetype2 is 2.4.9 from 2012. Compared to that, the stock version (2.6.3) can almost be called up-to-date...

	apt purge fontconfig-infinality
	apt purge libfreetype-infinality6
	apt install libfreetype6
