From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: TUTORIAL.bg and windows-1251 Date: Tue, 06 Jan 2004 21:03:44 +0900 Organization: Faculty of Science, Chiba University Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3FB52552.6090302@fmi.uni-sofia.bg> <200311170721.QAA11735@etlken.m17n.org> <3FBA3F81.4010602@fmi.uni-sofia.bg> <200311242355.IAA24563@etlken.m17n.org> <3FC45367.6070504@fmi.uni-sofia.bg> <200311260747.QAA27236@etlken.m17n.org> <3FC464C2.7010504@fmi.uni-sofia.bg> <200311261317.WAA27673@etlken.m17n.org> <200312030834.RAA03004@etlken.m17n.org> <3FCF60C9.8060009@fmi.uni-sofia.bg> <200312042328.IAA06933@etlken.m17n.org> <3FF2E5DF.4090906@fmi.uni-sofia.bg> <200401050414.NAA00014@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1073391690 2051 80.91.224.253 (6 Jan 2004 12:21:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2004 12:21:30 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jan 06 13:21:20 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdqD2-0005gl-00 for ; Tue, 06 Jan 2004 13:21:20 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdqD2-0001to-00 for ; Tue, 06 Jan 2004 13:21:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Adr5t-0004Hg-Bl for emacs-devel@quimby.gnus.org; Tue, 06 Jan 2004 08:18:01 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Adr3c-0003aF-3V for emacs-devel@gnu.org; Tue, 06 Jan 2004 08:15:40 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Adr1v-00036n-Jw for emacs-devel@gnu.org; Tue, 06 Jan 2004 08:14:27 -0500 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Adqtf-00010f-0G for emacs-devel@gnu.org; Tue, 06 Jan 2004 08:05:23 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id A3CC41A6376 for ; Tue, 6 Jan 2004 21:03:44 +0900 (JST) Original-To: emacs-devel@gnu.org In-Reply-To: <200401050414.NAA00014@etlken.m17n.org> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19041 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19041 >>>>> On Mon, 5 Jan 2004 13:14:39 +0900 (JST), Kenichi Handa said: > By the way, for rendering, I installed the code I proposed a while > ago which forces *-microsoft-cp1251 fonts to be used for Cyrillic > letters of the charset mule-unicode-0100-24ff in Bulgarian > environment on 2003-12-29. Have you noticed it? After this change, I'm experiencing slow redisplay of multibyte characters in Mac OS X (with both Carbon and X). Strangely, it does not cause any slowdown for me in Solaris 8. I tried to partially revert to the previous version, and the original redisplay speed came back with the following change. --- fontset.c~ Mon Dec 29 18:10:36 2003 +++ fontset.c Tue Jan 6 20:48:22 2004 @@ -305,7 +305,7 @@ elt = FONTSET_REF (FONTSET_BASE (fontset), *c); if (NILP (elt)) elt = lookup_overriding_fontspec (FONTSET_FRAME (fontset), *c); - if (NILP (elt) && ! EQ (FONTSET_BASE (fontset), Vdefault_fontset)) + if (NILP (elt) && ! EQ (fontset, Vdefault_fontset)) elt = FONTSET_REF (Vdefault_fontset, *c); if (NILP (elt)) return Qnil; But I'm not sure I'm doing the right thing. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp