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:
Jan Tojnar 2019-08-29 02:15:26 +02:00
parent 3f4144c30a
commit 37018e70d1
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 26 additions and 0 deletions

View File

@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
src = ./config-compat.patch; src = ./config-compat.patch;
inherit configVersion; inherit configVersion;
}) })
# https://gitlab.freedesktop.org/fontconfig/fontconfig/merge_requests/67
./fix-joypixels.patch
]; ];
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config

View 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 -->