unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Font selection algorithm / how do fonts work / what do you suggest for mono font?
Date: Tue, 27 Sep 2016 17:52:54 +0300	[thread overview]
Message-ID: <83zimtbdix.fsf@gnu.org> (raw)
In-Reply-To: <87r386gyj5.fsf@gavenkoa.example.com> (message from Oleksandr Gavenko on Tue, 27 Sep 2016 00:07:58 +0300)

> From: Oleksandr Gavenko <gavenkoa@gmail.com>
> Date: Tue, 27 Sep 2016 00:07:58 +0300
> 
> C-u C-x = shown that "Gentium" font is used for displaying character.
> 
> Is that mean that for "ː" character font is defined and so
> 
>   (set-fontset-font nil **nil** FONT-SPEC &optional FRAME ADD)
> 
> isn't taken in account (when TARGET == nil)?

I'm not sure I understand the question, sorry.

In general, Emacs will use the first font defined for the character
that supports it.  If all the fonts were defined the same, the order
of their look up is not under your control.  So you will be better off
defining specific regions of characters for specific fonts.  Leave the
catch-all definitions for Emacs.



  reply	other threads:[~2016-09-27 14:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-25 15:00 Font selection algorithm / how do fonts work / what do you suggest for mono font? Oleksandr Gavenko
2016-09-25 15:33 ` Eli Zaretskii
2016-09-25 19:04   ` Oleksandr Gavenko
2016-09-26  2:36     ` Eli Zaretskii
2016-09-26 21:07       ` Oleksandr Gavenko
2016-09-27 14:52         ` Eli Zaretskii [this message]
2016-09-25 16:13 ` Grant Rettke
2016-09-25 16:25   ` Eli Zaretskii
2016-09-25 19:00 ` Yuri Khan

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://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83zimtbdix.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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).