3
0
Fork 0
forked from mirrors/nixpkgs

nixos/hidpi: Don't set subpixel order

It has no effect with `subpixel.lcdfilter = "none"`.

If the user overrides the module's default, the correct subpixel order
depends on their actual monitor, and cannot be known by this module.
This commit is contained in:
nicoo 2022-10-05 16:08:14 +02:00
parent b2366655e2
commit e1220cf121

View file

@ -15,10 +15,7 @@ with lib;
# 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";
};
fonts.fontconfig.subpixel.lcdfilter = mkDefault "none";
# TODO Find reasonable defaults X11 & wayland
};