unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Sarah Morgensen <iskarian@mgsn.dev>
Cc: 31403@debbugs.gnu.org
Subject: bug#31403: Font installed in non-default profile doesn't appear.
Date: Wed, 15 Sep 2021 00:04:20 -0400	[thread overview]
Message-ID: <87tuimo56j.fsf@gmail.com> (raw)
In-Reply-To: <86h7epjji1.fsf@mgsn.dev> (Sarah Morgensen's message of "Sun, 12 Sep 2021 19:29:26 -0700")

Hi!

Sarah Morgensen <iskarian@mgsn.dev> writes:

> Maxim Cournoyer <maxim.cournoyer@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	other threads:[~2021-09-15  4:05 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 [this message]
2022-11-18 14:18       ` Maxim Cournoyer

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=87tuimo56j.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=31403@debbugs.gnu.org \
    --cc=iskarian@mgsn.dev \
    /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).