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 <dooleyn@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

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 <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 having some issues with fonts in emacs. In my org mode I have
set org-ellipsis to ⤵ (0x2935)

Opening up emacs installed with pacman it renders correctly and doing C-u C-x = 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 = 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:

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




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