unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: George Clemmer <myglc2@gmail.com>
Cc: 31403-done@debbugs.gnu.org
Subject: bug#31403: Font installed in non-default profile doesn't appear.
Date: Fri, 18 Nov 2022 09:18:30 -0500	[thread overview]
Message-ID: <87h6ywtkg9.fsf@gmail.com> (raw)
In-Reply-To: <87603vy05l.fsf@gmail.com> (George Clemmer's message of "Thu, 10 May 2018 11:56:38 -0400")

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




      parent reply	other threads:[~2022-11-18 14:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87bmdp66e8.fsf@gmail.com>
     [not found] ` <87po24u405.fsf@gmail.com>
     [not found]   ` <87wowc2zsg.fsf@gmail.com>
2018-05-10 15:56     ` bug#31403: Font installed in non-default profile doesn't appear George Clemmer
2020-10-05  5:46       ` Maxim Cournoyer
2021-09-13  2:29         ` Sarah Morgensen
2021-09-15  4:04           ` Maxim Cournoyer
2022-11-18 14:18       ` Maxim Cournoyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h6ywtkg9.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=31403-done@debbugs.gnu.org \
    --cc=myglc2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).