nixpkgs/pkgs/development/libraries/fontconfig
Jan Tojnar 993deed7ab
fontconfig: Load fonts also from FHS paths
With previous patch, we no longer load non-versioned fonts.conf file to avoid incompatibilities
but this also means fontconfig will not load system-wide installed fonts on non-NixOS systems.

As a compromise, let's hardcode the FHS font paths to the built-in config so that the system
fonts work there. Unlike with the system config we do not need to worry about compatibility as
incompatible font files will be simply ignored.

Of course there will still be disparity if the system install fonts to some other location than
these two but I am afraid this is the best we can do.

See https://github.com/NixOS/nixpkgs/pull/73795#issuecomment-635771967 for discussion.
2020-07-11 17:05:13 +02:00
..
2.10.nix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
config-compat.patch fontconfig: Only read versioned config dirs 2020-07-11 17:05:13 +02:00
default.nix fontconfig: Only read versioned config dirs 2020-07-11 17:05:13 +02:00
make-fonts-cache.nix makeFontsCache: Fix cross-compiling, missing fc-cache 2019-11-13 16:32:30 +01:00
make-fonts-conf.nix librsvg: make-fonts-conf: update with correct native deps 2019-03-29 11:11:56 -04:00
make-fonts-conf.xsl fontconfig: Load fonts also from FHS paths 2020-07-11 17:05:13 +02:00