all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andy Moreton <andrewjmoreton@gmail.com>
Cc: 20727@debbugs.gnu.org
Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range
Date: Tue, 09 Jun 2015 18:17:20 +0300	[thread overview]
Message-ID: <83ioawud1b.fsf@gnu.org> (raw)
In-Reply-To: <vz14mmhje67.fsf@gmail.com>

> From: Andy Moreton <andrewjmoreton@gmail.com>
> Date: Tue, 09 Jun 2015 12:48:16 +0100
> 
> On Mon 08 Jun 2015, Eli Zaretskii wrote:
> 
> >> From: Andreas Schwab <schwab@suse.de>
> >> Cc: Vasilij Schneidermann <v.schneidermann@gmail.com>,  20727@debbugs.gnu.org
> >> Date: Mon, 08 Jun 2015 16:52:48 +0200
> >> 
> >> Eli Zaretskii <eliz@gnu.org> writes:
> >> 
> >> > The problem is that most such fonts are not free.  Is Symbola free?
> >> 
> >> http://users.teilar.gr/~g1951d/
> >> "free for any use"
> >
> > Thanks, I pushed a change that I hope will improve the default
> > fontset's coverage of the various symbol characters.
> 
> This has caused a regression for me on the mingw64 build of emacs.
> 
> I use various box drawing characters in gnus to show threading, and
> these normally come from DejaVu Mono (the default font).
> 
> After this change, Emacs uses Batang Che for the box drawing characters,
> unless I add code to reverse the effects of the patch.

Not sure how that happened: AFAIK, my change mentioned neither Batang
Che nor DejaVu Mono.  Do you have in your customizations some setup
for fontsets that cover these characters?  If so, could you please
show these customizations?

> Can you please improve the patch to avoid overriding the default font
> with fonts that don't exist

Maybe I'm missing something, but my patch didn't override the default
font in any way that I'm aware of.  In fact, Emacs doesn't (well,
didn't until now, see below) consult the default font when it needs to
display characters such as box drawing; it always searches for the
proper font regardless of the coverage of the default font.  At least
that's AFAIU the code: this area in Emacs is notoriously
under-documented.

Anyway, I found and fixed an unintended consequence of my change,
please try the latest master.  Now, if the font used for ASCII face,
which AFAIU is the same as the frame's default font, has a glyph for
punctuation and other symbol characters, Emacs will use the default
font, instead of searching for another font.

> or at least make it easier for the user to choose the fonts chosen
> for the symbol-subgroup and box drawing characters without copying
> the character ranges.

Not sure what that means; how did you choose your fonts until now?  I
think this again hints on some font-related customizations you did, in
which case please show them.  My changes targeted the users who don't
do any fontset customizations and don't know how to do that; the
assumption was that whoever does customize their fontsets can easily
adapt.  Is that wrong?





  reply	other threads:[~2015-06-09 15:17 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-03 17:22 bug#20727: 24.5; Font fallback doesn't work for the Emoji range Vasilij Schneidermann
2015-06-03 19:20 ` Eli Zaretskii
2015-06-03 20:32   ` Vasilij Schneidermann
2015-06-07 18:09   ` Glenn Morris
2015-06-07 19:22     ` Eli Zaretskii
2015-06-08  0:15       ` Glenn Morris
2015-06-08  2:42         ` Eli Zaretskii
2015-06-08  5:43           ` Vasilij Schneidermann
2015-06-08 14:30             ` Eli Zaretskii
2015-06-08 14:52               ` Andreas Schwab
2015-06-08 18:06                 ` Eli Zaretskii
2015-06-09 11:48                   ` Andy Moreton
2015-06-09 15:17                     ` Eli Zaretskii [this message]
2015-06-09 16:29                       ` Andy Moreton
2015-06-09 16:48                         ` Eli Zaretskii
2015-06-12 16:05                           ` Glenn Morris
2015-06-12 19:32                             ` Eli Zaretskii
2015-06-08 15:59               ` Vasilij Schneidermann
2015-06-12 20:57 ` Paul Eggert
2015-06-13  7:04   ` Eli Zaretskii
2015-06-13  7:39   ` Eli Zaretskii
2015-06-13  9:12   ` Eli Zaretskii
2015-06-13 11:54     ` Eli Zaretskii
2015-06-13 16:01       ` Paul Eggert
2015-06-13 16:32         ` Eli Zaretskii
2015-06-13 17:04           ` Eli Zaretskii
2015-06-13 17:10             ` Paul Eggert
2015-06-13 18:31               ` Eli Zaretskii
2015-06-13 19:02                 ` Paul Eggert
2015-06-13 19:09                   ` Eli Zaretskii
2015-06-13 17:07           ` Paul Eggert
2015-06-13 17:57             ` Eli Zaretskii
2015-06-13 18:47               ` Paul Eggert
2015-06-13 19:03                 ` Eli Zaretskii
2015-06-13 21:19                   ` Paul Eggert
2015-06-14  2:46                     ` Eli Zaretskii
2015-06-14 15:08                       ` Eli Zaretskii
2015-06-14 16:14                       ` Paul Eggert
2015-06-14 17:37                         ` Eli Zaretskii
2015-06-14 20:39                           ` Paul Eggert
2015-06-15 16:14                             ` 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=83ioawud1b.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20727@debbugs.gnu.org \
    --cc=andrewjmoreton@gmail.com \
    /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.