From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#1096: The Emacs 23 cann't display the cjk extb characters again. Date: Wed, 10 Dec 2008 16:44:28 +0900 Message-ID: References: <87abb428hw.fsf@cyd.mit.edu> <1228891412.493f651496a3e@webmail.freedom2surf.net> Reply-To: Kenichi Handa , 1096@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1228896295 500 80.91.229.12 (10 Dec 2008 08:04:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Dec 2008 08:04:55 +0000 (UTC) Cc: 1096@emacsbugs.donarmstrong.com, cyd@stupidchicken.com, hongyi.zhao@gmail.com To: jasonr@f2s.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 10 09:06:01 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LAK4p-0003Qc-Ox for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Dec 2008 09:05:52 +0100 Original-Received: from localhost ([127.0.0.1]:56681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAK3e-0000ku-Jo for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Dec 2008 03:04:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAK3a-0000km-S3 for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2008 03:04:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAK3Y-0000ka-8S for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2008 03:04:29 -0500 Original-Received: from [199.232.76.173] (port=34023 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAK3Y-0000kX-1n for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2008 03:04:28 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:14701) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LAK3X-0008QM-9a for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2008 03:04:27 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LAK3W-0001S7-Ek for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2008 03:04:26 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBA84H7o029010; Wed, 10 Dec 2008 00:04:17 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBA7o2rZ025331; Tue, 9 Dec 2008 23:50:02 -0800 X-Loop: don@donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 10 Dec 2008 07:50:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1096 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1096-submit@emacsbugs.donarmstrong.com id=B1096.122889507424020 (code B ref 1096); Wed, 10 Dec 2008 07:50:02 +0000 X-Spam-Bayes: score:0.0000 Tokens: new, 27; hammy, 145; neutral, 55; spammy, 0. spammytokens: hammytokens:0.000-+--emacs, 0.000-+--Emacs, 0.000-+--H*UA:Emacs, 0.000-+--H*u:Emacs, 0.000-+--H*UA:23.0.60 Original-Received: (at 1096) by emacsbugs.donarmstrong.com; 10 Dec 2008 07:44:34 +0000 Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBA7iU6Q024013 for <1096@emacsbugs.donarmstrong.com>; Tue, 9 Dec 2008 23:44:32 -0800 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id mBA7iTwk023586; Wed, 10 Dec 2008 16:44:29 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id mBA7iT0m010869; Wed, 10 Dec 2008 16:44:29 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id mBA7iSgI009340; Wed, 10 Dec 2008 16:44:28 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1LAJkC-0001x8-Nx; Wed, 10 Dec 2008 16:44:28 +0900 In-reply-to: <1228891412.493f651496a3e@webmail.freedom2surf.net> (jasonr@f2s.com) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Wed, 10 Dec 2008 03:04:29 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23136 Archived-At: In article <1228891412.493f651496a3e@webmail.freedom2surf.net>, jasonr@f2s.com writes: > Quoting Kenichi Handa : > > > hongyi.zhao@gmail.com wrote: > > > > (if (display-graphic-p) > > > > (set-fontset-font > > > > (frame-parameter nil 'font) > > > > '(#x20000 . #x2fa1d) > > > > '("*-Sun-ExtB" . "unicode-sip"))) > > > > I've just installed a fix. At least with Xft font backend, > > Emacs should be able to find a proper font for the Unicode > > SIP area (#x20000..#x2FFFF) now. > At least part of the problem here is that the font name contains a -, which is > not compatible with the use of xlfd as the internal representation of fonts. That is why I suggested as above; i.e. prepend "*-" to the family name so that the parser knows that foundry is nil and the remaining part is a family name. By the way, the above notation is kept for backward compatibility (and also for handy way). The cleaner code is: (set-fontset-font (frame-parameter nil 'font) '(#x20000 . #x2fa1d) (font-spec :family "*-Sun-ExtB" :registry "unicode-sip")) because we are now using font-{spec|entity|object} as the internal representation of fonts. --- Kenichi Handa handa@m17n.org