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

2022-08-19 Thread Maxim Cournoyer
Hi Pierre, Pierre Neidhardt writes: > The fontconfig package has this bit: > > (string-append "--with-add-fonts=" > "~/.guix-profile/share/fonts," > "/run/current-system/profile/share/fonts") > > If I understand correctly, fonts can only be installed at the system > level or in

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

2019-12-16 Thread zimoun
Hi Bengt, On Sun, 15 Dec 2019 at 23:15, Bengt Richter wrote: > How about an interplanetary font folder? cf. IPLD[1] :-) I am not sure it is related to the issue discussed here, IMHO. However, if you are interested in IPFS stuff, give a look at this patch [#] because it still needs some love

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

2019-12-15 Thread Bengt Richter
Hi Guix, On +2019-12-13 14:11:13 +0100, Pierre Neidhardt wrote: > Just read this: > https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/126 > > Could we do the following: use a profile hook to generate a config file > and set the environment variable FONTCONFIG_FILE to this file? > > (I

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

2019-12-14 Thread Ludovic Courtès
Hello, Pierre Neidhardt skribis: > Just read this: > https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/126 > > Could we do the following: use a profile hook to generate a config file > and set the environment variable FONTCONFIG_FILE to this file? I guess that would work. > (I feel

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

2019-12-12 Thread Ludovic Courtès
Hi! Pierre Neidhardt skribis: > Ludovic Courtès writes: > >> We could fix that by adding a patch so that Fontconfig would honor >> $FONTCONFIG_FONT_PATH or similar. > > Have we ever asked upstream? Maybe they would consider adding it. > If they don't, I'm in favour of a patch! :) I don’t

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

2019-12-10 Thread Pierre Neidhardt
Hi! Ludovic Courtès writes: > We could fix that by adding a patch so that Fontconfig would honor > $FONTCONFIG_FONT_PATH or similar. Have we ever asked upstream? Maybe they would consider adding it. If they don't, I'm in favour of a patch! :) -- Pierre Neidhardt https://ambrevar.xyz/

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

2019-12-10 Thread Ludovic Courtès
Hello! Pierre Neidhardt 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

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

2019-12-06 Thread Alex Kost
Pierre Neidhardt (2019-12-05 18:52 +0100) wrote: > Thank you Alex, that's what I did and it works. > > That said, I think it'd be nice if Guix would automatically do this for > us. After all, it already handles multiple-profiles properly for so > many other things! :) TBH I don't understand all

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

2019-12-05 Thread Alex Kost
Pierre Neidhardt (2019-12-05 11:43 +0100) wrote: > The fontconfig package has this bit: > > (string-append "--with-add-fonts=" > "~/.guix-profile/share/fonts," > "/run/current-system/profile/share/fonts") > > If I understand correctly, fonts can only be installed at the system > level or in