fontconfig: add support for JoyPixels font
Mirroring the following upstream merge request https://gitlab.freedesktop.org/fontconfig/fontconfig/merge_requests/67
This commit is contained in:
parent
3f4144c30a
commit
37018e70d1
@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
|
||||
src = ./config-compat.patch;
|
||||
inherit configVersion;
|
||||
})
|
||||
|
||||
# https://gitlab.freedesktop.org/fontconfig/fontconfig/merge_requests/67
|
||||
./fix-joypixels.patch
|
||||
];
|
||||
|
||||
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config
|
||||
|
23
pkgs/development/libraries/fontconfig/fix-joypixels.patch
Normal file
23
pkgs/development/libraries/fontconfig/fix-joypixels.patch
Normal file
@ -0,0 +1,23 @@
|
||||
--- a/conf.d/45-generic.conf
|
||||
+++ b/conf.d/45-generic.conf
|
||||
@@ -5,6 +5,10 @@
|
||||
|
||||
<!-- Emoji -->
|
||||
|
||||
+ <alias binding="same">
|
||||
+ <family>JoyPixels</family>
|
||||
+ <default><family>emoji</family></default>
|
||||
+ </alias>
|
||||
<alias binding="same">
|
||||
<family>Emoji Two</family>
|
||||
<default><family>emoji</family></default>
|
||||
--- a/conf.d/60-generic.conf
|
||||
+++ b/conf.d/60-generic.conf
|
||||
@@ -29,6 +29,7 @@
|
||||
<alias binding="same">
|
||||
<family>emoji</family>
|
||||
<prefer>
|
||||
+ <family>JoyPixels</family>
|
||||
<family>Emoji Two</family>
|
||||
<family>Emoji One</family>
|
||||
<!-- System fonts -->
|
Loading…
Reference in New Issue
Block a user