unofficial mirror of bug-gnu-emacs@gnu.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 19:48:43 +0300	[thread overview]
Message-ID: <83fv60u8t0.fsf@gnu.org> (raw)
In-Reply-To: <vz1zj48u9p1.fsf@gmail.com>

> From: Andy Moreton <andrewjmoreton@gmail.com>
> Date: Tue, 09 Jun 2015 17:29:30 +0100
> 
> >> 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?
> 
> All I have is to choose DejaVu Mono as the default font. Your changes
> made the defqault fontset choose Symbola and FreeMono for symbols and
> box drawing characters, but my system does not have thiose fonts, so it
> chose something else instead.

What I cannot understand is why it chose Batang Che, when it chose
DejaVu Mono before.  Before my changes, it should have examined Batang
Che before DejaVu Mono, so if it was "good" after my changes, it
should have been good before them.  AFAICS, fonts are generally
examined in the same order.

Probably some additional surprise lurking in the font-selection code.

> > 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.
> 
> Thanks Eli, this changes restores the original behaviour.

It actually introduces behavior that was never there to begin with
(except as a not-entirely-correct variation in the NS build).  But at
least now I can explain what Emacs does, and why ;-)

> The only font-related customisation I have is:
> 
>   (set-face-attribute 'default nil        :font "DejaVu Sans Mono-9")
>   (set-face-attribute 'variable-pitch nil :font "Arial-10")
> 
>     (setq default-frame-alist
>           (append `((background-color . "gray85")
>                     (font             .  "DejaVu Sans Mono-9")
>                     ))
>                   default-frame-alist))
> 
> I don't have any fontset customisation at all, but the earlier change
> still made emacs choose a different font for symbols.

Strange.





  reply	other threads:[~2015-06-09 16:48 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
2015-06-09 16:29                       ` Andy Moreton
2015-06-09 16:48                         ` Eli Zaretskii [this message]
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

  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=83fv60u8t0.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 public inbox

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

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).