mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
nixos/fontconfig: Change default antialiasing style to greyscale instead of subpixel
fontconfig before version 2.13.1 was apparently implicitly not using subpixel antialiasing. The fontconfig NixOS module deviated from this, using subpixel antialiasing with `rgb` layout by default. In fontconfig 2.14.1, subpixel antialiasing was inadvertently enabled as the default:2b6afa02ab
According to https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/337, that deviates from GNOME/GTK’s defaults, which resulted in apps taking the settings directly from fontconfig (e.g. Firefox) from diverging from GNOME programs. The change was subsequently reverted in 2.14.2, choosing the greyscale antialiasing explicitly:030759b74f
Let’s reflect this default setting in the NixOS module. Co-authored-by: Jan Tojnar <jtojnar@gmail.com> Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
b5d2d701d1
commit
bd97ff5ff4
@ -30,6 +30,8 @@
|
||||
|
||||
- The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration.
|
||||
|
||||
- `fontconfig` now defaults to using greyscale antialiasing instead of subpixel antialiasing because of a [recommendation from one of the downstreams](https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/337). You can change this value by configuring [](#opt-fonts.fontconfig.subpixel.rgba) accordingly.
|
||||
|
||||
- A new option was added to the virtualisation module that enables specifying explicitly named network interfaces in QEMU VMs. The existing `virtualisation.vlans` is still supported for cases where the name of the network interface is irrelevant.
|
||||
|
||||
- `services.nginx` gained a `defaultListen` option at server-level with support for PROXY protocol listeners, also `proxyProtocol` is now exposed in `services.nginx.virtualHosts.<name>.listen` option. It is now possible to run PROXY listeners and non-PROXY listeners at a server-level, see [#213510](https://github.com/NixOS/nixpkgs/pull/213510/) for more details.
|
||||
|
@ -417,7 +417,7 @@ in
|
||||
subpixel = {
|
||||
|
||||
rgba = mkOption {
|
||||
default = "rgb";
|
||||
default = "none";
|
||||
type = types.enum ["rgb" "bgr" "vrgb" "vbgr" "none"];
|
||||
description = lib.mdDoc ''
|
||||
Subpixel order. The overwhelming majority of displays are
|
||||
|
Loading…
Reference in New Issue
Block a user