From: Kenichi Handa <handa@m17n.org>
To: 1399@emacsbugs.donarmstrong.com
Cc: ian@digg.com
Subject: bug#1399: 23.0.60; Some Unicode glyphs incorrectly mapped to CJK
Date: Tue, 17 Mar 2009 11:00:30 +0900 [thread overview]
Message-ID: <E1LjObW-0004PZ-3G@etlken> (raw)
Sorry for the late response.
> It seems that some Unicode glyphs are incorrectly categorized.
>
> For example, U+201C, U+201D, U+2018, U+2019 (LEFT/RIGHT SINGLE/DOUBLE
> QUOTATION MARK) are all mapped into the CHK category. This results in
> the use of the STHeiti font for those characters, which are a
> different width than the normal font I've chosen.
Category doesn't affect the font selection.
As all of those characters are `symbol' script, Emacs at
first lists fonts that have at least one of #x201C, #x2200,
#x2500 (see script-representative-chars), and select one
that matches best with your default font's family, foundry,
etc.
In your case, perhaps all your listed fonts have different
family, foundry, etc than the default font, and thus Emacs
selects arbitrary one from the listed fonts.
Currently, Emacs can't know which kind of font is more
suitable for those charaters; a font that has double-width
glyphs for them, or a font that has single-width glyphs.
So, if you prefer a specific font for symbol characters, you
must modify the defualt fontset (or whatever fontset you are
using) for symbol characters, for example, as this:
(set-fontset-font
"fontset-default"
'symbol
'("FAMILYNAME" . "iso10646-1"))
> I think it's incorrect for them to be categorized as CJK, since they
> are widely used in latin scripts.
Character category is not exclusive. Even if a character
has CJK category, it doesn't mean that the character is not
Latin.
---
Kenichi Handa
handa@m17n.org
next reply other threads:[~2009-03-17 2:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 2:00 Kenichi Handa [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-11-30 2:26 bug#1399: 23.0.60; Some Unicode glyphs incorrectly mapped to CJK Chong Yidong
2008-11-20 23:33 Ian Eure
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=E1LjObW-0004PZ-3G@etlken \
--to=handa@m17n.org \
--cc=1399@emacsbugs.donarmstrong.com \
--cc=ian@digg.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).