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: Kenichi Handa
Subject: Re: TUTORIAL.bg and windows-1251
Date: Wed, 7 Jan 2004 09:25:43 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, YAMAMOTO Mitsuharu <address@hidden> writes:
>>  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;

Thank you for the report.  I found what is wrong.  The above
change is not good.  I've just committed the patch below.
Please try it.

*** fontset.c.~1.82.~   Mon Dec 29 14:12:04 2003
--- fontset.c   Wed Jan  7 09:11:52 2004
***************
*** 305,311 ****
      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))
      elt = FONTSET_REF (Vdefault_fontset, *c);
    if (NILP (elt))
      return Qnil;
--- 305,311 ----
      elt = FONTSET_REF (FONTSET_BASE (fontset), *c);
    if (NILP (elt))
      elt = lookup_overriding_fontspec (FONTSET_FRAME (fontset), *c);
!   if (NILP (elt))
      elt = FONTSET_REF (Vdefault_fontset, *c);
    if (NILP (elt))
      return Qnil;

---
Ken'ichi HANDA
address@hidden




reply via email to

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