emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Can't display Japanese text in menu bar


From: Katsumi Yamaoka
Subject: Re: Can't display Japanese text in menu bar
Date: Wed, 20 Dec 2006 18:29:31 +0900
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux)

I'm sorry for the late response.

>>>>> In <address@hidden> Kenichi Handa wrote:

> I found what is wrong.  In x_load_resources (xrdb.c),
> default values of several X resources are set, but fontSet
> is not set.  But, in x_update_menu_appearance (xfaces.c)
> which is called when you set `menu' face, the fontSet
> resource is set.   That's why executing
>       (set-face-font 'menu (face-font 'menu))
> makes the menu label display correctly.

>> I hope it is fixed in Emacs 22.2 or 23. ;-)

> I've just installed the attached patch for 23
> (emacs-unicode-2 branch).  Could you please confirm that the
> change surely fixes the problem in your environment too?

I confirmed the change did the trick.  I ran Emacs 23 with the
-Q option and viewed the Japanese menu by evaluating the code
that I posted first.  Thank you.

Although the X resources seems to be ignored now, I believe all
will be fixed in the future.

> By the way, I think the relevant code should be improved to
> reflect a font specified for menu bar in a created fontset,
> but, for the moment, I don't have a time to work on it,
> sorry.

Most of Japanese are busy at the year-end, so please do your own
business. ;-)

Regards,




reply via email to

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