unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alex Kost <alezost@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Use another font for some characters
Date: Sat, 01 Oct 2016 21:10:38 +0300	[thread overview]
Message-ID: <87d1jkey8x.fsf@gmail.com> (raw)

Hello, in Emacs 24.5.1 (and earlier) I can use this:

  (set-fontset-font "fontset-default" '(#x2190 . #x2195) "Symbola")

and this range of characters (which is the following arrows: ← ↑ → ↓ ↔
↕), is displayed using "Symbola" font.

However in Emacs 25, the same set-fontset-font call doesn't take any
visible effect – the arrow characters are still displayed with my
default font (Liberation Mono).

So is there a way to achieve what I want in Emacs 25, I mean is there a
way to specify another font for characters that are supported by a
default font?

I think the mentioned difference in Emacs versions was introduced by one
of the commits made for <http://bugs.gnu.org/20727>, but I'm not sure if
this is a bug, or I just miss something, thanks.

-- 
Alex



             reply	other threads:[~2016-10-01 18:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-01 18:10 Alex Kost [this message]
2016-10-02  4:59 ` Use another font for some characters Nikolay Kudryavtsev
2016-10-02  8:48   ` Alex Kost
2016-10-02  6:52 ` Eli Zaretskii
2016-10-02  8:46   ` Alex Kost
2016-10-02  9:22     ` 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

  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=87d1jkey8x.fsf@gmail.com \
    --to=alezost@gmail.com \
    --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).