From mboxrd@z Thu Jan 1 00:00:00 1970 From: Niall Dooley Subject: Re: Emacs font question Date: Mon, 21 Aug 2017 09:26:34 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c0e61d2f76fd905573f3e9f" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dji3J-0004AN-RA for help-guix@gnu.org; Mon, 21 Aug 2017 04:27:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dji3I-00034T-IF for help-guix@gnu.org; Mon, 21 Aug 2017 04:27:17 -0400 Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]:37147) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dji3I-00031D-C2 for help-guix@gnu.org; Mon, 21 Aug 2017 04:27:16 -0400 Received: by mail-qt0-x229.google.com with SMTP id 16so79313867qtz.4 for ; Mon, 21 Aug 2017 01:27:14 -0700 (PDT) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Fredrik Salomonsson Cc: help-guix --94eb2c0e61d2f76fd905573f3e9f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Try installing fontconfig if not installed already and then refresh the font cache with fc-cache -f or fc-cache -vfr Relevant past discussions: https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00477.html https://lists.gnu.org/archive/html/help-guix/2017-05/msg00021.html https://lists.gnu.org/archive/html/help-guix/2017-02/msg00020.html HTH, Niall Niall On 21 August 2017 at 05:06, Fredrik Salomonsson wrote: > Hi Guix, > > Working on setting up a dual boot with Guix+Arch Linux and GuixSD. Got it > running in Arch but having some issues with fonts in emacs. In my org mod= e > I have > set org-ellipsis to =E2=A4=B5 (0x2935) > > Opening up emacs installed with pacman it renders correctly and doing C-u > C-x =3D over the character it tells me that it's using the font > >> display: >> > xft:-PfEd-DejaVu Serif-normal-normal-normal-*-12-*-*-*-*-0-iso10646-1 >> (#xBB6) >> > > But opening up emacs installed with guix I just get a rectangle with the > unicode in it instead of the arrow. Doing C-u C-x =3D on it shows: > >> display: no font available >> > > I have font-dejavu, font-awesome, font-hack and font-gnu-freefont-ttf > install in guix. > My emacs config file is here: > https://github.com/plattfot/dotemacs/blob/master/init.d/configuration.org > > Using http://bluejamesbond.github.io/CharacterMap/ > and browsing to .guix-profile/share/fonts/truetype/DejaVuSerif.ttf > I can see the character (index 2998, unicode 2935) so I'm not missing the > font. > > The weird part is that it's picking up Hack just fine. So I'm not sure > what I'm missing. > > Thanks > > -- > s/Fred[re]+i[ck]+/Fredrik/g > --94eb2c0e61d2f76fd905573f3e9f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Try installing fontconfig if not installed already and the= n refresh the font cache with

fc-cache -f

or

fc-cache= -vfr

Relevant past discussions:
https://lists.gnu.org/archi= ve/html/guix-devel/2015-11/msg00477.html



HTH,

Niall

Niall

On 21 August 2017 at 05:06, Fredrik Salomons= son <plattfot@gmail.com> wrote:
Hi Guix,

Working on setting up a = dual boot with Guix+Arch Linux and GuixSD. Got it running in Arch but havin= g some issues with fonts in emacs. In my org mode I have
=
set org-ellipsis to =E2=A4=B5 (0x2935)

Opening up e= macs installed with pacman it renders correctly and doing C-u C-x =3D over = the character it tells me that it's using the font=C2=A0
display:
xft:-PfEd-DejaVu S= erif-normal-normal-normal-*-12-*-*-*-*-0-iso10646-1 (#xBB6)

But opening up emacs installed with guix I just= get a rectangle with the unicode in it instead of the arrow. Doing C-u C-x= =3D on it shows:
display: no font available

I have font-dejavu, font-awesome, font-hack and font-gnu-freefont-ttf ins= tall in guix.
My emacs config file is here:

and browsing to .guix= -profile/share/fonts/truetype/DejaVuSerif.ttf
I can see the = character (index 2998, unicode 2935) so I'm not missing the font.

The weird part is that it's picking up Hack jus= t fine. So I'm not sure what I'm missing.

= Thanks

--
s/Fre= d[re]+i[ck]+/Fredrik/g

--94eb2c0e61d2f76fd905573f3e9f--