From: Miles Bader <miles.bader@necel.com>
To: emacs-devel@gnu.org
Subject: japanese vs. chinese fonts
Date: Thu, 02 Oct 2008 14:38:44 +0900 [thread overview]
Message-ID: <buohc7v1rq3.fsf@dhapc248.dev.necel.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=iso-2022-jp-2, Size: 1276 bytes --]
When I enter Japanese in emacs, it now uses a Chinese font to display
the characters!
Even though:
(1) I used the "japanese" input method
(2) My language-environment is "Japanese"
(3) I have Japanese ttf fonts installed on my system, which fontconfig
knows about, and which used to be used by emacs.
(4) Emacs _used_ to do the right thing (displaying Japanese text using
Japanese fonts).
What should I do to debug this?
Here's an example of a mis-displayed character (I don't know how this
will display on other people's systems, but note the font name).
character: ^[$B2=^[(B (21270, #o51426, #x5316)
preferred charset: japanese-jisx0208
(JISX0208.1983/1990 Japanese Kanji: ISO-IR-87)
code point: 0x323D
syntax: w which means: word
category: C:Chinese (Han) characters of 2-byte character sets
c:Chinese h:Korean j:Japanese
|:While filling, we can break a line at this character.
buffer code: #xE5 #x8C #x96
file code: #xE5 #x8C #x96 (encoded by coding system utf-8)
display: by this font (glyph code)
xft:-unknown-^[$BJ8@tqc@5^[$A:Z^[(B-normal-normal-normal-*-12-*-*-*-*-0-iso10646-1 (#xDCA)
Thanks,
-Miles
--
Brain, n. An apparatus with which we think we think.
next reply other threads:[~2008-10-02 5:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-02 5:38 Miles Bader [this message]
2008-10-02 6:06 ` japanese vs. chinese fonts Kenichi Handa
2008-10-02 6:11 ` Miles Bader
2008-10-02 6:49 ` Kenichi Handa
2008-10-02 7:27 ` Miles Bader
2008-10-02 9:30 ` Werner LEMBERG
2008-10-02 11:54 ` Kenichi Handa
2008-10-02 14:24 ` Juanma Barranquero
2008-10-03 0:32 ` Kenichi Handa
2008-10-02 11:57 ` Kenichi Handa
2008-10-02 12:34 ` Stefan Monnier
2008-10-02 12:45 ` Kenichi Handa
2008-10-02 13:32 ` Stefan Monnier
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=buohc7v1rq3.fsf@dhapc248.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 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).