From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Xu Newsgroups: gmane.emacs.bugs Subject: bug#9621: 24.0.90; a characger not displayed Date: Wed, 28 Sep 2011 15:12:33 +0300 Organization: the Church of Emacs Message-ID: <21glmxdouaq6.fsf@gmail.com> References: <20110927.155802.49633926.Takaaki.Ota@am.sony.com> <83lit9f7hl.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317212060 29729 80.91.229.12 (28 Sep 2011 12:14:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2011 12:14:20 +0000 (UTC) To: 9621@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 28 14:14:16 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R8t1i-0006gd-Fw for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Sep 2011 14:14:14 +0200 Original-Received: from localhost ([::1]:40603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8t1i-0001Bs-0e for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Sep 2011 08:14:14 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8t1d-0001B5-RT for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2011 08:14:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8t1c-0002DD-Gh for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2011 08:14:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8t1c-0002D5-DT for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2011 08:14:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R8t2U-0000ZK-Dt for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2011 08:15:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <20110927.155802.49633926.Takaaki.Ota@am.sony.com> Resent-From: William Xu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Sep 2011 12:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9621 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13172120752136 (code B ref -1); Wed, 28 Sep 2011 12:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Sep 2011 12:14:35 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8t23-0000YP-DO for submit@debbugs.gnu.org; Wed, 28 Sep 2011 08:14:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8t21-0000YH-J7 for submit@debbugs.gnu.org; Wed, 28 Sep 2011 08:14:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8t17-00029S-Lj for submit@debbugs.gnu.org; Wed, 28 Sep 2011 08:13:38 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:51900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8t17-00029O-Gv for submit@debbugs.gnu.org; Wed, 28 Sep 2011 08:13:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8t16-00013y-Bz for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2011 08:13:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8t15-00028t-0e for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2011 08:13:36 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8t14-00028m-Ri for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2011 08:13:34 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R8t0z-0006Jk-8Q for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2011 14:13:29 +0200 Original-Received: from amprx01x.nokia.com ([192.100.130.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Sep 2011 14:13:29 +0200 Original-Received: from william.xwl by amprx01x.nokia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Sep 2011 14:13:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: amprx01x.nokia.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:dDcwo8/xhOpkR67CVw3EInu/B84= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 28 Sep 2011 08:15:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51956 Archived-At: Eli Zaretskii writes: FWIW, this character is displayed correctly on my MS-Windows box. "C-u C-x =" says that it is displayed using the Uniscribe font driver and this font: uniscribe:-outline-Arial Unicode MS-normal-normal-normal-sans-15-*-*-*-p-*-jisx0208*-* (#x12D9) I can reproduce it here, the same as Takaaki. The font being used is: -outline-BatangChe-normal-normal-normal-mono-13-*-*-*-c-*-jisx0208*-* And BatangChe font doesn't cover unicode 30FC, that's why it can't display it. The font you are using -- Arial Unicode MS, covers most unicode characters on windows, which is often used as a fallback font, i guess. Because it seems you don't have BatangChe font, yours uses Arial Unicode MS directly... Some locale differences, probably. To force it to use Arial Unicode MS, just: (set-fontset-font t '(#x30fc . #x30fd) "Arial Unicode MS") The real problem is that when the selected font(like BatangChe here) doesn't contain all the glyphs for the unicode range it covers, emacs doesn't select a fallback font, like Arial Unicode MS here. Only if one day the following code could be implemented?.. int w32font_has_char (Lisp_Object entity, int c) { /* We can't be certain about which characters a font will support until we open it. Checking the scripts that the font supports turns out to not be reliable. */ return -1; -- William http://xwl.appspot.com