unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Emacs font question
@ 2017-08-21  4:06 Fredrik Salomonsson
  2017-08-21  8:26 ` Niall Dooley
  0 siblings, 1 reply; 3+ messages in thread
From: Fredrik Salomonsson @ 2017-08-21  4:06 UTC (permalink / raw)
  To: help-guix

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

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs font question
  2017-08-21  4:06 Emacs font question Fredrik Salomonsson
@ 2017-08-21  8:26 ` Niall Dooley
  2017-08-21 16:30   ` Fredrik Salomonsson
  0 siblings, 1 reply; 3+ messages in thread
From: Niall Dooley @ 2017-08-21  8:26 UTC (permalink / raw)
  To: Fredrik Salomonsson; +Cc: help-guix

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

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

<goog_2020154044>
https://lists.gnu.org/archive/html/help-guix/2017-05/msg00021.html

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs font question
  2017-08-21  8:26 ` Niall Dooley
@ 2017-08-21 16:30   ` Fredrik Salomonsson
  0 siblings, 0 replies; 3+ messages in thread
From: Fredrik Salomonsson @ 2017-08-21 16:30 UTC (permalink / raw)
  To: Niall Dooley; +Cc: help-guix

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-21 16:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).