From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.devel Subject: Re: Scim can't be activated when the arg --enable-font-backend is used. Date: Sat, 9 Dec 2006 00:22:52 +0800 Message-ID: <20061208162252.GA4554@localdomain> References: <20061205105104.GA14529@localdomain> <20061208025858.GA5541@localdomain> <20061208050015.GA9628@localdomain> Reply-To: Hongyi Zhao NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1165594752 19135 80.91.229.10 (8 Dec 2006 16:19:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2006 16:19:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 08 17:19:10 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GsiRG-0004zR-7E for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2006 17:19:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsiRF-0004Ya-HL for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2006 11:19:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsiR3-0004WZ-0a for emacs-devel@gnu.org; Fri, 08 Dec 2006 11:18:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsiR1-0004Vk-Ef for emacs-devel@gnu.org; Fri, 08 Dec 2006 11:18:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsiR1-0004Vf-Bo for emacs-devel@gnu.org; Fri, 08 Dec 2006 11:18:51 -0500 Original-Received: from [64.233.184.228] (helo=wr-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsiR1-0006WY-7e for emacs-devel@gnu.org; Fri, 08 Dec 2006 11:18:51 -0500 Original-Received: by wr-out-0506.google.com with SMTP id i12so513260wra for ; Fri, 08 Dec 2006 08:18:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent; b=Pqoi6nX5SSaI4gnQBIsZrS2xMJlPBwOLBNXeFVMZCVIPp+nnDjHW86ghmg7WubF6cmy3PNqv4Ta7AggOzizuYf2FHbnoyYUJ6q8pM0JyIj8XU070fRJc+JzG+/oH5v5CBiYFAbQTsu5gBp7HWynL6+guvZFIYVC/jcpdM576KJM= Original-Received: by 10.90.84.17 with SMTP id h17mr4239561agb.1165594730290; Fri, 08 Dec 2006 08:18:50 -0800 (PST) Original-Received: from localhost ( [159.226.135.215]) by mx.google.com with ESMTP id 6sm2344677agd.2006.12.08.08.18.46; Fri, 08 Dec 2006 08:18:49 -0800 (PST) Original-To: Kenichi Handa Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 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:63471 Archived-At: > Thank you. It seems that you surely have all necessary > fonts. You wrote that you can activate SCIM when you > started Emacs without --enable-font-backend. So, I've just > installed a change that prints debug info even in that case. > Please update and build emacs again by the same way, and > start emacs without --enable-font-backend. See the following, please: ============= zhaohs@ubuntu-edgy:~$ emacs XIC Fontset failed: -*-fixed-medium-r-normal-*-15-140-*-*-*-*-iso8859-1,-*-fixed-medium-r-normal-*-15-*-*-*-*-*-*-*,-*-*-medium-r-normal-*-15-*-*-*-*-*-*-*,-*-*-*-*-*-*-15-*-*-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset created: -*-fixed-medium-r-normal-*-15-140-*-*-*-*-iso8859-1 ============= > > The change also includes a code that tries to create a > fontset without specifying any font size. So, please try > with --enable-font-backend too. See the following, please: ==================== zhaohs@ubuntu-edgy:~$ emacs --enable-font-backend XIC Fontset failed: -*-*-medium-r-normal--15-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--14-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--17-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--18-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--12-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--11-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--20-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--10-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--8-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--24-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--26-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--34-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset created: -*-*-*-r-normal--*-*-*-*-*-* ==================== It looks wonderful! This time, I can activate the SCIM, and at the same time, the CJK-Ext B can also be displayed correctly. P.S. If this change hasn't be installed and the following lisp code doesn't be input into my .emacs: ============= (if (display-graphic-p) (set-fontset-font ...)) ============= When I run Emacs with: % emacs -nw I'll meet the error: Fontset `tty' does not exist, which has been solved by your above lisp code; *nevertheless*, I can still dispaly CJK-Ext-B and activate SCIM correctly. -- Hongyi Zhao 赵弘毅 -- 题目:《春日》 作者:程颢(1032-1085) 云淡风轻近午天,傍花随柳过前川。 时人不识余心乐,将谓偷闲学少年。