From 4114cf9c6c184d72d51260caa6ad0e11984fee0b Mon Sep 17 00:00:00 2001 From: Eric Sagnes Date: Thu, 11 Aug 2016 16:21:03 +0900 Subject: [PATCH] fontconfig-ultimate: fix wqy-zenhei-sharp priority --- pkgs/development/libraries/fontconfig-ultimate/confd.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/fontconfig-ultimate/confd.nix b/pkgs/development/libraries/fontconfig-ultimate/confd.nix index 160fef5f07e5..31679aa08064 100644 --- a/pkgs/development/libraries/fontconfig-ultimate/confd.nix +++ b/pkgs/development/libraries/fontconfig-ultimate/confd.nix @@ -32,6 +32,9 @@ stdenv.mkDerivation { cp fontconfig_patches/fonts-settings/*.conf $out/etc/fonts/conf.d + # fix font priority issue https://github.com/bohoomil/fontconfig-ultimate/issues/173 + mv $out/etc/fonts/conf.d/{43,60}-wqy-zenhei-sharp.conf + mkdir -p $out/etc/fonts/presets/{combi,free,ms} cp fontconfig_patches/combi/*.conf $out/etc/fonts/presets/combi cp fontconfig_patches/free/*.conf $out/etc/fonts/presets/free