From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fredrik Salomonsson Subject: Re: Emacs font question Date: Mon, 21 Aug 2017 09:30:26 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1135228a3ae2b505574600b7" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djpbE-0008Ob-My for help-guix@gnu.org; Mon, 21 Aug 2017 12:30:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djpbD-00028p-E6 for help-guix@gnu.org; Mon, 21 Aug 2017 12:30:48 -0400 Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]:35113) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1djpbD-00028j-9A for help-guix@gnu.org; Mon, 21 Aug 2017 12:30:47 -0400 Received: by mail-qt0-x22f.google.com with SMTP id x36so16718469qtx.2 for ; Mon, 21 Aug 2017 09:30:47 -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: Niall Dooley Cc: help-guix --001a1135228a3ae2b505574600b7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Niall, fontconfig was indirectly installed so fc-cache wasn't in my .guix-profile/bin instead it was using fc-cache on arch. running: guix package -i fontconfig fc-cache -vfr Fixed it. Still curious on why it picked up Hack but not DejaVu, I assume it was using Hack install on arch and not Guix. 2017-08-21 1:26 GMT-07:00 Niall Dooley : > 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 i= t >> running in Arch but having some issues with fonts in emacs. In my org mo= de >> 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.or= g >> >> 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 th= e >> 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 >> > > --=20 s/Fred[re]+i[ck]+/Fredrik/g --001a1135228a3ae2b505574600b7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Niall,

fontconfig was indirectly= installed so fc-cache wasn't in my .guix-profile/bin instead it was us= ing fc-cache on arch.

running:

guix package -i fontconfig
fc-cache -vfr

Fixed it.

Still curious on why it picked up= Hack but not DejaVu, I assume it was using Hack install on arch and not Gu= ix.


2017-08-21 1:26 GMT-07:00 Niall Dooley <dooley= n@gmail.com>:
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



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<= br>

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




--
s/= Fred[re]+i[ck]+/Fredrik/g
--001a1135228a3ae2b505574600b7--