unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Fredrik Salomonsson <plattfot@gmail.com>
To: Niall Dooley <dooleyn@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Emacs font question
Date: Mon, 21 Aug 2017 09:30:26 -0700	[thread overview]
Message-ID: <CABZcOATLL5uB-0CjbZM4OEObZ0W6rOhaLZPKT6gVWTgu7fEBGQ@mail.gmail.com> (raw)
In-Reply-To: <CADS3Lq7_cUcFFO+dhaH2ocHOzmb=i9eRo9QETbjwYEtzjdo7eQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2274 bytes --]

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
>
> <http://goog_2020154044>
> https://lists.gnu.org/archive/html/help-guix/2017-05/msg00021.html
>
> <http://goog_2020154045>
> 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:
>> 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
>>
>
>


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

[-- Attachment #2: Type: text/html, Size: 4830 bytes --]

      reply	other threads:[~2017-08-21 16:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-21  4:06 Emacs font question Fredrik Salomonsson
2017-08-21  8:26 ` Niall Dooley
2017-08-21 16:30   ` Fredrik Salomonsson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABZcOATLL5uB-0CjbZM4OEObZ0W6rOhaLZPKT6gVWTgu7fEBGQ@mail.gmail.com \
    --to=plattfot@gmail.com \
    --cc=dooleyn@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).