@sebas suggested that we should ship infinalities *fontconfig*
https://launchpad.net/~no1wantdthisname/+archive/ubuntu/ppa
The configs seem to bring rendering improvements even with ubuntu freetype (which has subpixel hinting enabled already, which is probably why).
Techno
The fontconfig source includes `/etc/profile.d/infinality-settings.sh which sets some environment configs for infinality's freetype patches, so we probably don't need it to use this. And it'd be weirdly conflictig anyway.
The source also includes /etc/fonts/infinality/infinality.conf, which is included via /etc/fonts/conf.avail respectively /etc/fonts/conf.d (that's conf.enabled essentially as with apache2's sites-available and sites-enabled system). The infinality.conf in turn includes by default the infinality style profle found in /etc/fonts/infinality/styles.conf.avail.
Concerns
- Main config sets qt_use_subpixel_positioning to false which apparently relies on infinality's freetype patch to do subpixel positioning, so this setting probably needs to be reverted to true
- The infinality profile applies tweaks which may or may not be counter productive in some usage scenarios. The linux profile might be a less invasive pick. Unclear whether improvements WRT noto remain the same.
- It may be better to create a Plasma-specific config setup that specifically tweaks Noto and Hack to look good. These configs ideally would only be used in Plasma sessions and if at all possible only apply to Noto and Hack