Subject: bug#38498: Fontconfig does not find fonts in non-default profiles

From: Ludovic Courtès <[email-masked]>
Date: Tue, 10 Dec 2019 17:53:13 +0100

Hello!

Pierre Neidhardt <[email-masked]> skribis:

> We lose generality in making ~/.guix-profile special.

I think we all agree on that.  Fontconfig is one of the very few cases
where we ended up resorting to that.  The reason I think is simply that
Fontconfig honors ~/.config/fontconfig/fonts.xml but does not honor a
search path environment variable as is customary.

We could fix that by adding a patch so that Fontconfig would honor
$FONTCONFIG_FONT_PATH or similar.

WDYT?

Thanks,
Ludo’.