infinality fontconfig
Closed, ResolvedPublic

Description

@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
sitter created this task.Aug 25 2016, 12:08 PM
sitter updated the task description. (Show Details)Aug 30 2016, 10:08 AM

This is a bit out of scope of what Neon cares about but could be implemented in Plasma. Should be restricted to only Noto Sans and Hack which are the Plasma default fonts to not affect corner cases.

zx2c4 added a subscriber: zx2c4.Sep 14 2016, 10:22 AM

Keep in mind that infinality is extremely slow and CPU intensive, which is why 2.7 defaults to a newer mode that's significantly faster while still being mostly good in most cases.

@zx2c4 freetype 2.7 that is?

jriddell closed this task as Resolved.Oct 3 2018, 11:12 AM
jriddell claimed this task.

largely not useful any more - harald
actually I think this can be closed - harald
bionic uses 2.8 which uses faster stuff