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: George Clemmer
Subject: bug#31403: Font installed in non-default profile doesn't appear.
Date: Thu, 10 May 2018 11:56:38 -0400
User-agent: mu4e 1.0; emacs 25.3.1

George Clemmer <address@hidden> writes:

> Alex Kost <address@hidden> 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





reply via email to

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