From: Stephen Berman <stephen.berman@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: font selection confusion
Date: Wed, 04 Mar 2009 09:41:40 +0100 [thread overview]
Message-ID: <87wsb5of23.fsf@escher.local.home> (raw)
In-Reply-To: buo63ip985x.fsf@dhlpc061.dev.necel.com
On Wed, 04 Mar 2009 14:19:38 +0900 Miles Bader <miles.bader@necel.com> wrote:
> 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"
There's something peculiar with \u22ee in my Emacs (GNU Emacs 23.0.91.2
(i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-03-01 on escher), which
may be related. I also use Dejavu Sans Mono (set in ~/.Xresources,
along with xft as FontBackend). In the Gnus *Article* buffer in which
I'm reading Miles's post, both characters are displayed fine. According
to `C-u C-x =', both use the default font; here is the complete
description of \u22ee:
character: ⋮ (8942, #o21356, #x22ee)
preferred charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..U+FFFF))
code point: 0x22EE
syntax: . which means: punctuation
category: .:Base
buffer code: #xE2 #x8B #xAE
file code: #xE2 #x8B #xAE (encoded by coding system utf-8-unix)
display: by this font (glyph code)
xft:-unknown-DejaVu Sans-normal-normal-normal-*-12-*-*-*-*-0-iso10646-1 (#xD13)
Character code properties: customize what to show
name: VERTICAL ELLIPSIS
general-category: Sm (Symbol, Math)
However, in this description, the vertical ellipsis is not displayed,
but instead an empty box. The same goes for the Message buffer into
which I yanked the post from the *Article* buffer (again, the latter
does display the vertical ellipsis). Likewise if I just yank that
character into any other buffer, and also if I start emacs -Q and insert
it with ucs-insert or with `M-: (insert ?\u22ee)': it displays only as
an empty box (again, with the default font Dejavu Sans Mono). When I
type `C-u C-x =' on any of these empty boxes, this is the result:
character: ⋮ (8942, #o21356, #x22ee)
preferred charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..U+FFFF))
code point: 0x22EE
syntax: . which means: punctuation
category: .:Base
buffer code: #xE2 #x8B #xAE
file code: #xE2 #x8B #xAE (encoded by coding system utf-8-unix)
display: no font available
Character code properties: customize what to show
name: VERTICAL ELLIPSIS
general-category: Sm (Symbol, Math)
--
Steve Berman
next prev parent reply other threads:[~2009-03-04 8:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-04 5:19 font selection confusion Miles Bader
2009-03-04 8:41 ` Stephen Berman [this message]
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=87wsb5of23.fsf@escher.local.home \
--to=stephen.berman@gmx.net \
--cc=emacs-devel@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.