From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22927: system-installed emacs does not find system-installed fonts Date: Sat, 02 Apr 2016 19:29:50 +0200 Message-ID: <87inzzgbqp.fsf@gnu.org> References: <87a8mb5t8t.fsf@gmail.com> <87wppehc33.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amPO6-0008NS-MD for bug-guix@gnu.org; Sat, 02 Apr 2016 13:31:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amPO3-00083f-Fd for bug-guix@gnu.org; Sat, 02 Apr 2016 13:31:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amPO3-00083X-CI for bug-guix@gnu.org; Sat, 02 Apr 2016 13:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1amPO2-0004kB-3S for bug-guix@gnu.org; Sat, 02 Apr 2016 13:31:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87wppehc33.fsf@gmail.com> (Alex Kost's message of "Mon, 07 Mar 2016 12:27:44 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Alex Kost Cc: myglc2 , 22927@debbugs.gnu.org Alex Kost skribis: > myglc2 (2016-03-06 21:57 +0300) wrote: > >> Not technically not a bug because the doc says ... >> >> 2.6.2 X11 Fonts >> >> The =E2=80=98fontconfig=E2=80=99 package in Guix looks for fonts in >> =E2=80=98$HOME/.guix-profile=E2=80=99 by default. Thus, to allow graphi= cal 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: > > > > > /run/current-system/profile/share/fonts > 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 =E2=80=98core-updates=E2=80=99? Thanks, Ludo=E2=80=99.