all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>
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:07:09 -0700	[thread overview]
Message-ID: <557C633D.8090508@cs.ucla.edu> (raw)
In-Reply-To: <83si9vpo0i.fsf@gnu.org>

Eli Zaretskii wrote:

> I don't really see why it's "way worth".

Sorry, I mistyped (and used my Sylvester voice 
<https://en.wikipedia.org/wiki/Sylvester_%28Looney_Tunes%29>).  I meant that 
Symbola looks "way worse".  I assume that you can see that in the screenshots, 
it's just that you can't reproduce the problem on your machine.

> The Symbola font looks much more crisp on my system, FWIW.  Which font
> back-end did you configure Emacs to use?

Sorry, I don't know what "font back-end" means.  I'm running on Ubuntu 15.04 and 
configured Emacs with --enable-gcc-warnings.  'configure' outputs:

Configured for 'x86_64-unknown-linux-gnu'.

   Where should the build process find the source code?    .
   What compiler should emacs be built with?               gcc -std=gnu99 -g3 -O2
   Should Emacs use the GNU version of malloc?             yes
       (Using Doug Lea's new malloc from the GNU C Library.)
   Should Emacs use a relocating allocator for buffers?    no
   Should Emacs use mmap(2) for buffer allocation?         no
   What window system should Emacs use?                    x11
   What toolkit should Emacs use?                          GTK3
   Where do we find X Windows header files?                Standard dirs
   Where do we find X Windows libraries?                   Standard dirs
   Does Emacs use -lXaw3d?                                 no
   Does Emacs use -lXpm?                                   yes
   Does Emacs use -ljpeg?                                  yes
   Does Emacs use -ltiff?                                  yes
   Does Emacs use a gif library?                           yes -lgif
   Does Emacs use a png library?                           yes -lpng12
   Does Emacs use -lrsvg-2?                                yes
   Does Emacs use cairo?                                   no
   Does Emacs use imagemagick?                             yes
   Does Emacs support sound?                               yes
   Does Emacs use -lgpm?                                   yes
   Does Emacs use -ldbus?                                  yes
   Does Emacs use -lgconf?                                 yes
   Does Emacs use GSettings?                               yes
   Does Emacs use a file notification library?             yes -lgio (gfile)
   Does Emacs use access control lists?                    no
   Does Emacs use -lselinux?                               no
   Does Emacs use -lgnutls?                                yes
   Does Emacs use -lxml2?                                  yes
   Does Emacs use -lfreetype?                              yes
   Does Emacs use -lm17n-flt?                              yes
   Does Emacs use -lotf?                                   yes
   Does Emacs use -lxft?                                   yes
   Does Emacs directly use zlib?                           yes
   Does Emacs use toolkit scroll bars?                     yes

> Also, if you use the iso10646-1 variant instead of the iso8859-1 as
> the default font, doesn't that fix the problem

Yes.  The problem, I imagine, is that users will have put a fixed-width font of 
their own preference into their .Xdefaults or .Xresources file (e.g., 
"Emacs.font fixed").  This is reasonably common, and the recent change makes 
symbols look much worse, at least in my environment.

By the way, I can reproduce a similar problem with "emacs -Q -font fixed".  It's 
not as unreadable there, but it's still pretty bad: Symbola characters have a 
different width than the fixed-width characters that Emacs previously used, so 
source code listings no longer line up.

> existing
> fonts are frequently inadequate, in that they claim support for
> Unicode ranges where they actually support only a handful of glyphs.
> Users then complain that they have decent fonts (like Symbola)
> installed, but Emacs still shows some characters as boxes with hex
> code, instead of using Symbola.

This doesn't seem to be a problem in Ubuntu and/or Fedora (the systems I 
typically use), and on these environments the cure seems to be worse than the 
disease.  Is there some way we can heuristically tell whether we're in an 
environment where glyphs are often not supported?  For example, can we convert a 
sample glyph or two to a bitmap and see whether it looks like a boxed hex code? 
  (Just thinking out loud.)

> I don't think it's a good idea to
> go back to the previous arrangement where any font that claimed
> iso10646-1 support would be considered as covering symbols and
> punctuation well, because that means restoring the problems I tried to
> fix in the first place.

In that case I don't understand why emacs -Q -font 
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 works now.  If 
Emacs is supposed to prefer Symbola to other fonts when displaying symbols, why 
isn't it using Symbola in this case?






  parent reply	other threads:[~2015-06-13 17:07 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
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 [this message]
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=557C633D.8090508@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=20727@debbugs.gnu.org \
    --cc=andrewjmoreton@gmail.com \
    --cc=eliz@gnu.org \
    --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.