all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles.bader@necel.com>
To: emacs-devel@gnu.org
Subject: font selection confusion
Date: Wed, 04 Mar 2009 14:19:38 +0900	[thread overview]
Message-ID: <buo63ip985x.fsf@dhlpc061.dev.necel.com> (raw)

GNU Emacs 23.0.91.8 (x86_64-unknown-linux-gnu, GTK+ Version 2.14.7) of 2009-03-04 on dhlpc061

I'm kind of confused how emacs chooses alternative fonts to display
funny characters.

For instance, try this:

  (1) Start "HOME=/tmp emacs -Q"

  (2) Insert this string in *scratch*:  ❦⋮
      (those two characters are \u2766, "FLORAL HEART", and \u22ee,
      "VERTICAL ELLIPSIS")

  (3) On my system, which is debian unstable, the default font used is
      "Dejuavu Sans Mono"; using that font, the "FLORAL HEART" can be
      displayed using the default font, and "VERTICAL ELLIPSIS" is
      displayed using a different font,
      "-mutt-clearlyu-medium-r-normal--17-120-100-100-p-123-iso10646-1"

  (4) Now, I use the "Options > Set Default Font" menu to change the
      default font to "Liberation Mono" (this is a commonly installed
      free font, but any font with poor coverage of funny characters
      will seems to give the same result...).

  (5) Liberation Mono does not have either of those characters, but what
      happens is:  the "FLORAL HEART" character is now displayed as an
      empty box, but the "VERTICAL ELLIPSIS" character continues to be
      displayed using the "mutt-clearlyu" font.

Shouldn't emacs continue to use Dejavu Sans Mono to display "FLORAL
HEART", given that the font clearly contains it, and emacs clearly knows
(well, knew) that fact?
  
Thanks,

-Miles

-- 
=====
(^o^;
(()))
*This is the cute octopus virus, please copy it into your sig so it can spread.




             reply	other threads:[~2009-03-04  5:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-04  5:19 Miles Bader [this message]
2009-03-04  8:41 ` font selection confusion Stephen Berman
2009-03-19 11:37   ` Kenichi Handa
2009-03-19 11:47     ` Stephen Berman
2009-03-19 11:51       ` Kenichi Handa
2009-03-05 12:53 ` Kenichi Handa
2009-03-05 14:53   ` Miles Bader

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=buo63ip985x.fsf@dhlpc061.dev.necel.com \
    --to=miles.bader@necel.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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.
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.