unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: myglc2 <myglc2@gmail.com>, 22927@debbugs.gnu.org
Subject: bug#22927: system-installed emacs does not find system-installed fonts
Date: Sat, 02 Apr 2016 19:29:50 +0200	[thread overview]
Message-ID: <87inzzgbqp.fsf@gnu.org> (raw)
In-Reply-To: <87wppehc33.fsf@gmail.com> (Alex Kost's message of "Mon, 07 Mar 2016 12:27:44 +0300")

Alex Kost <alezost@gmail.com> skribis:

> myglc2 (2016-03-06 21:57 +0300) wrote:
>
>> Not technically not a bug because the doc says ...
>>
>> 2.6.2 X11 Fonts
>>
>> The ‘fontconfig’ package in Guix looks for fonts in
>> ‘$HOME/.guix-profile’ by default.  Thus, to allow graphical applications
>> installed with Guix to display fonts, you have to install fonts with
>> Guix as well.
>
> (I have not checked but) I believe this can be fixed by adding
> "/run/current-system/profile/share/fonts" to '--with-add-fonts'
> configure flag of the 'fontconfig' package.
>
> For now I think the following recipe should work:
>
> 1. Make a file "~/.config/fontconfig/fonts.conf" with the following
>    contents:
>
> <?xml version="1.0"?>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
> <fontconfig>
>     <dir>/run/current-system/profile/share/fonts</dir>
> </fontconfig>

Indeed.  I realize I did this independently in
e71ef7adaece7e132a5059139122b45083ea1b39.

The better fix will be to rebuild Fontconfig as you suggest.  Would you
like to try that and apply it to ‘core-updates’?

Thanks,
Ludo’.

  reply	other threads:[~2016-04-02 17:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-06 18:57 bug#22927: system-installed emacs does not find system-installed fonts myglc2
2016-03-07  9:27 ` Alex Kost
2016-04-02 17:29   ` Ludovic Courtès [this message]
2016-04-03  7:44     ` Alex Kost
2016-04-03 20:39       ` Ludovic Courtès
2016-04-04 18:11         ` Alex Kost

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=87inzzgbqp.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=22927@debbugs.gnu.org \
    --cc=alezost@gmail.com \
    --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).