From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#22927: system-installed emacs does not find system-installed fonts Date: Mon, 07 Mar 2016 12:27:44 +0300 Message-ID: <87wppehc33.fsf@gmail.com> References: <87a8mb5t8t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acrSS-0007HZ-7c for bug-guix@gnu.org; Mon, 07 Mar 2016 04:28:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acrSN-0001U2-5U for bug-guix@gnu.org; Mon, 07 Mar 2016 04:28:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acrSN-0001Tx-13 for bug-guix@gnu.org; Mon, 07 Mar 2016 04:28:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1acrSM-0001zL-TR for bug-guix@gnu.org; Mon, 07 Mar 2016 04:28:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87a8mb5t8t.fsf@gmail.com> (myglc2@gmail.com's message of "Sun, 06 Mar 2016 13:57:54 -0500") 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: myglc2 Cc: 22927@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 graphic= al 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: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=fonts.conf /run/current-system/profile/share/fonts --=-=-= Content-Type: text/plain 2. Run "fc-cache -fv". -- Alex --=-=-=--