bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31403: Font installed in non-default profile doesn't appear.


From: Maxim Cournoyer
Subject: bug#31403: Font installed in non-default profile doesn't appear.
Date: Fri, 18 Nov 2022 09:18:30 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi,

George Clemmer <myglc2@gmail.com> writes:

> George Clemmer <myglc2@gmail.com> writes:
>
>> Alex Kost <alezost@gmail.com> writes:
>>
>>> Hello George,
>>>
>>> George Clemmer (2018-05-08 20:04 -0400) wrote:
>>>
>>>> In a "headless" vm-image (sysi29.scm, attached), "font-dejavu" installed
>>>> by manifest (attached) into the "empty" default profile ...
>>>>
>>>> 'guix package -m manifest'
>>>>
>>>> ... appears in the emacs 'M-x menu-set-font' choice box. But it doesn't
>>>> appear with the same manifest installed in the "foo" profile ...
>>>
>>> To make fonts available from a non-standard profile I added the
>>> following line into my "~/config/fontconfig/fonts.conf":
>>>
>>>   <dir>~/path-to-my-profile/share/fonts</dir>
>>
>> Thank you Alex!
>>
>> On the chance it might be useful to someone else, this ...
>>
>> <?xml version="1.0"?>
>> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
>> <!-- /etc/fonts/fonts.conf file to configure system font access -->
>> <fontconfig>
>> <dir>~/path-to-my-profile/share/fonts</dir>
>> </fontconfig>
>>
>> ... in "~/.config/fontconfig/fonts.conf" worked for me ;-)
>
> Given that this works, ISTM this can be fixed by placing ...
>
> <?xml version="1.0"?>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
> <!-- /etc/fonts/fonts.conf file to configure system font access -->
> <fontconfig>
> <dir>share/fonts</dir>
> </fontconfig>
>
> ... in "/etc/fonts/fonts.conf".
>
> WDYT? - George

What was this bug about exactly?  Having fonts installed to arbitrary
profiles usable by the system?  If so, I think that's out of scope.
Note that installing fonts to a profile where XDG_DATA_DIRS is set
should now be discoverable by fontconfig.

I'm closing the issue, but feel free to reopen it if I missed something.

-- 
Thanks,
Maxim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]