all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com,
	20727@debbugs.gnu.org
Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range
Date: Sat, 13 Jun 2015 10:04:32 +0300	[thread overview]
Message-ID: <83h9qcqebj.fsf@gnu.org> (raw)
In-Reply-To: <557B47B6.4080600@cs.ucla.edu>

> Date: Fri, 12 Jun 2015 13:57:26 -0700
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: Eli Zaretskii <eliz@gnu.org>, 
>  Vasilij Schneidermann <v.schneidermann@gmail.com>,
>  Andy Moreton <andrewjmoreton@gmail.com>
> 
> The recent change to fontsel.el messed up my display when I was trying 
> to test obsolescent 8-bit environments.  I can reproduce the problem on 
> Fedora 21 x86-64 by running:
> 
> src/emacs -Q -font 
> -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
> 
> and then by typing:
> 
> abc C-x 8 [ def C-x 8 ] ghi
> 
> This inserts "abc‘def’ghi" into *scratch*.  The display looks like "abc  
> ‘def’  ghi" with huge spaces around the quotes (see attached 
> screenshot).  There are similar problems with many other characters.  
> Apparently this is because I don't have the Symbola font installed, so 
> the change caused Emacs to fall back on Chinese double-width quotes 
> rather than on the font it used before (which is -misc-liberation 
> serif-medium-r-normal--13-94-100-100-p-74-iso10646-1 for the above 
> invocation of Emacs).

I recommend to either install Symbola (preferred) or customize the
default fontset on your system to use the font it used previously, if
you like it better than Symbola.

> I imagine that there will be similar problems with choosing Symbola even 
> if it's available, as users may prefer the font they've selected 
> explicitly

With the current master (even before your change), Symbola is
preferred only for punctuation and other symbols, and only if the
default font doesn't support those characters.  I don't expect users
to prefer some specific font for those, except their default font.
User preferences are expected in Unicode ranges that belong to users'
scripts, not for symbols and punctuation that their default font
doesn't already support.  In the rare cases where users do prefer
specific fonts for those characters, they can customize the fontsets.

> so perhaps the change should be enabled only for characters 
> that are not already available in the user-selected font?

That's what the code already does.  Are you saying that your default
font supported those quotes, and yet Emacs didn't use that font for
them?  You say above "fall back", and mention a non-default font,
which I understand to mean your default font didn't support those
characters.





  reply	other threads:[~2015-06-13  7:04 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
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 [this message]
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=83h9qcqebj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20727@debbugs.gnu.org \
    --cc=andrewjmoreton@gmail.com \
    --cc=eggert@cs.ucla.edu \
    --cc=v.schneidermann@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.