2802538dc2
Set the environment variable GDFONTPATH to the list of directories where fonts are expected to be installed. This is search path is used by same GD-based applications, such as Gnuplot. Alternatively, we could rely on fontconfig to achieve the same thing, i.e. by running for n in $(fc-list | sed -r -e 's|^([^:]+):.*$|\1|'); do echo $(dirname "$n"); done | sort | uniq to get that list at run-time, but the static approach feels more deterministic. |
||
---|---|---|
.. | ||
fonts.nix | ||
gnu.nix | ||
i18n.nix | ||
krb5.nix | ||
ldap.nix | ||
networking.nix | ||
no-x-libs.nix | ||
nsswitch.nix | ||
power-management.nix | ||
pulseaudio.nix | ||
shells.nix | ||
swap.nix | ||
system-path.nix | ||
timezone.nix | ||
unix-odbc-drivers.nix | ||
users-groups.nix |