help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fonts


From: Niall Dooley
Subject: Re: fonts
Date: Thu, 23 Feb 2017 10:46:04 +0100

Hi,

On 22 February 2017 at 21:22, Catonano <address@hidden> wrote:
> I put a picture on line
> http://imgur.com/a/K1yry
>
> the fonts on my screen are not that slender, they are awkward, ugly, I don't
> know
>
> What can I do to make them better ? Which font should I install and how can
> I instruct the Gnome desktop to use them ?
>
> In Fedora there's a thing called "Fedy" that automagically does a list of
> things and one of them is making fonts smooth
>
> But I have no idea how it does that, it's a cute tiny window and I just
> click a few buttons in it.
>
> So any suggestion is welcomed
>
> Thanks in advance

I'm only using Guix on a foreign distro and for now have only Source Code Pro 
(SCP) installed primarily for use within Emacs. I initially followed the instructions 
here  from the manual installing fontconfig and the suggested font packages 
(as well as SCP) but found that the SCP despite being configured for use in my
init.el file was not being used. In fact, the font in Emacs was ugly and my 
(powerline) modeline was not rendered correctly. To me it seemed the various 
font packages were conflicting with each other. I subsequently rolled back to remove 
all font packages except for SCP. I kept Fontconfig though. This still did not improve the 
situation much and in fact Emacs was using fonts which I had not installed - perhaps it 
was accessing those available on my foreign distro or some are included in building the 
emacs package for Guix? I don't know.

In any case, I then discovered this thread:

http://guix-devel.gnu.narkive.com/xCDp7nhI/patch-gnu-emacs-use-libotf

and this one just now

https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00477.html

which suggests running 'fc-cache -f' or 'fc-cache -vfr' (from fontconfig) to refresh
the font cache. Upon doing this, my issues were resolved and SCP was being 
correctly used by Emacs. If you're on a foreign distro too you may already have 
fontconfig installed for that distro so you may have to explicitly run the version
installed with Guix. 

For any unicode characters not supported by SCP, they are either not displayed or 
Emacs uses some other font although I don't understand from where it gets these other
fonts.

HTH,

Niall 
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]