From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: japanese vs. chinese fonts Date: Thu, 02 Oct 2008 14:38:44 +0900 Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp-2 X-Trace: ger.gmane.org 1222925950 7780 80.91.229.12 (2 Oct 2008 05:39:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 05:39:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 02 07:40:08 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KlGv0-0003Hg-SF for ged-emacs-devel@m.gmane.org; Thu, 02 Oct 2008 07:40:07 +0200 Original-Received: from localhost ([127.0.0.1]:39182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlGtx-0000r3-I9 for ged-emacs-devel@m.gmane.org; Thu, 02 Oct 2008 01:39:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlGtr-0000q4-8C for emacs-devel@gnu.org; Thu, 02 Oct 2008 01:38:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlGtp-0000o1-25 for emacs-devel@gnu.org; Thu, 02 Oct 2008 01:38:54 -0400 Original-Received: from [199.232.76.173] (port=42200 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlGto-0000nq-Sk for emacs-devel@gnu.org; Thu, 02 Oct 2008 01:38:52 -0400 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:43743) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlGtl-0007l7-CE; Thu, 02 Oct 2008 01:38:50 -0400 Original-Received: from relay21.aps.necel.com ([10.29.19.50]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m925cJBF010605; Thu, 2 Oct 2008 14:38:46 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay21.aps.necel.com with ESMTP; Thu, 2 Oct 2008 14:38:46 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay11.aps.necel.com with ESMTP; Thu, 2 Oct 2008 14:38:46 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 9966E3EC; Thu, 2 Oct 2008 14:38:45 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop Original-Lines: 41 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104290 Archived-At: 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.