GNU bug report logs -
#31403
Font installed in non-default profile doesn't appear.
Previous Next
Reported by: George Clemmer <myglc2 <at> gmail.com>
Date: Thu, 10 May 2018 15:57:03 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31403 in the body.
You can then email your comments to 31403 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#31403
; Package
guix
.
(Thu, 10 May 2018 15:57:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
George Clemmer <myglc2 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 10 May 2018 15:57:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
George Clemmer <myglc2 <at> gmail.com> writes:
> Alex Kost <alezost <at> 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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#31403
; Package
guix
.
(Mon, 05 Oct 2020 05:47:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 31403 <at> debbugs.gnu.org (full text, mbox):
merge 31403 22138
thanks
Hello,
George Clemmer <myglc2 <at> gmail.com> writes:
> George Clemmer <myglc2 <at> gmail.com> writes:
>
>> Alex Kost <alezost <at> 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 ...
Assuming you run Emacs in that foo profile and don't see the font,
that's probably because XDG_DATA_DIRS is unset in that other profile.
glib is one of the package setting that variable.
I'm merging this bug with 22138, which would fix the root cause.
Thanks,
Maxim
Information forwarded
to
bug-guix <at> gnu.org
:
bug#31403
; Package
guix
.
(Mon, 13 Sep 2021 02:30:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 31403 <at> debbugs.gnu.org (full text, mbox):
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
>>>> 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 ...
>
> Assuming you run Emacs in that foo profile and don't see the font,
> that's probably because XDG_DATA_DIRS is unset in that other profile.
> glib is one of the package setting that variable.
>
> I'm merging this bug with 22138, which would fix the root cause.
Will this be fixed by #50358? If so, could you close this when that is
merged?
Thanks,
--
Sarah
Information forwarded
to
bug-guix <at> gnu.org
:
bug#31403
; Package
guix
.
(Wed, 15 Sep 2021 04:05:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 31403 <at> debbugs.gnu.org (full text, mbox):
Hi!
Sarah Morgensen <iskarian <at> mgsn.dev> writes:
> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
>>>>> 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 ...
>>
>> Assuming you run Emacs in that foo profile and don't see the font,
>> that's probably because XDG_DATA_DIRS is unset in that other profile.
>> glib is one of the package setting that variable.
>>
>> I'm merging this bug with 22138, which would fix the root cause.
>
> Will this be fixed by #50358? If so, could you close this when that is
> merged?
The above statement turned out to be untrue at the time; fontconfig used
to not honor XDG_DATA_DIRS. That's now the case with the newest
fontconfig release, if XDG_DATA_DIRS is set (which probably won't -- due
to 22138), Emacs should be able to discover fonts in a different profile
than the user or system profiles.
Maxim
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Fri, 18 Nov 2022 14:19:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
George Clemmer <myglc2 <at> gmail.com>
:
bug acknowledged by developer.
(Fri, 18 Nov 2022 14:19:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 31403-done <at> debbugs.gnu.org (full text, mbox):
Hi,
George Clemmer <myglc2 <at> gmail.com> writes:
> George Clemmer <myglc2 <at> gmail.com> writes:
>
>> Alex Kost <alezost <at> 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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 17 Dec 2022 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 130 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.