unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Niall Dooley <dooleyn@gmail.com>
To: Catonano <catonano@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: fonts
Date: Thu, 23 Feb 2017 10:46:04 +0100	[thread overview]
Message-ID: <CADS3Lq5OyzHi+MKs90CLv+0zjNAXw36pR05ifBKF2LKBKikk4w@mail.gmail.com> (raw)
In-Reply-To: <CAJ98PDyTB3wiRwXCofNPJENAM9wHi8=h=vn8L2233493Un5ipg@mail.gmail.com>

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

Hi,

On 22 February 2017 at 21:22, Catonano <catonano@gmail.com> 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
<http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/fonts.scm#n923>

(SCP) installed primarily for use within Emacs. I initially followed the
instructions
here <https://www.gnu.org/software/guix/manual/guix.html#X11-Fonts>  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:

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

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

  reply	other threads:[~2017-02-23  9:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22 20:22 fonts Catonano
2017-02-23  9:46 ` Niall Dooley [this message]
2017-02-24  9:15   ` fonts Catonano

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=CADS3Lq5OyzHi+MKs90CLv+0zjNAXw36pR05ifBKF2LKBKikk4w@mail.gmail.com \
    --to=dooleyn@gmail.com \
    --cc=catonano@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).