all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Clément Pit--Claudel" <clement.pit@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: How do I set up font fallback in a robust way?
Date: Sat, 09 Apr 2016 22:46:20 +0300	[thread overview]
Message-ID: <834mbain03.fsf@gnu.org> (raw)
In-Reply-To: <570954AA.7070604@gmail.com> (message from Clément Pit--Claudel on Sat, 9 Apr 2016 15:14:50 -0400)

> From: Clément Pit--Claudel <clement.pit@gmail.com>
> Date: Sat, 9 Apr 2016 15:14:50 -0400
> 
> Since my main programming font does not cover all the mathematical symbols I need, I initially set up font fallback as shown below:
> 
>     (set-fontset-font t 'unicode (font-spec :name "FreeMono") nil 'append)
>     (set-fontset-font t 'unicode (font-spec :name "Symbola") nil 'append)

The default fontset already defines specific blocks to be handled by
these fonts, see fontset.el.  What problems, specifically, do you have
with the default setup and the current emacs-25 branch?

> What's the proper way to configure font fallback?

In general: find the characters you want to change and augment the
default fontset to use the font you want for them.

But let's first see the specific problems you have with the Emacs 25
defaults.  This issue got some attention a few months ago, so I'm
surprised to hear there are still problems in that area.

> *Note*: for testing purposes, here are a few math characters: `ℕ𝓟⧺×≠≥≤±¬∨∧∃∀λ⟿⟹⊥⊤⊢`

Which, if any, of those give you trouble with the default fontset?



  reply	other threads:[~2016-04-09 19:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-09 19:14 How do I set up font fallback in a robust way? Clément Pit--Claudel
2016-04-09 19:46 ` Eli Zaretskii [this message]
2016-04-09 20:01   ` Clément Pit--Claudel
2016-04-10  2:44     ` Eli Zaretskii
2016-04-10 14:01       ` Clément Pit--Claudel
2016-04-10 16:38         ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=834mbain03.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=clement.pit@gmail.com \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.