nixos/hidpi: Disable font hinting

Per the documentation:
> At high resolution (> 200 dpi) hinting will do nothing (at best);
> users of such displays may want to disable this option.
This commit is contained in:
nicoo 2022-10-05 16:07:22 +02:00
parent f03716715f
commit b2366655e2

View file

@ -12,8 +12,9 @@ with lib;
boot.loader.systemd-boot.consoleMode = mkDefault "1";
# Disable font anti-aliasing & sub-pixel rendering by default
# Disable font anti-aliasing, hinting, and sub-pixel rendering by default
fonts.fontconfig.antialias = mkDefault false;
fonts.fontconfig.hinting.enable = mkDefault false;
fonts.fontconfig.subpixel = {
rgba = mkDefault "none";
lcdfilter = mkDefault "none";