emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TUTORIAL.bg and windows-1251


From: YAMAMOTO Mitsuharu
Subject: Re: TUTORIAL.bg and windows-1251
Date: Tue, 06 Jan 2004 21:03:44 +0900
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)

>>>>> On Mon, 5 Jan 2004 13:14:39 +0900 (JST), Kenichi Handa <address@hidden> 
>>>>> 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
                                address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]