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 10:15:15 +0900
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

>>>>> In <address@hidden> Katsumi Yamaoka wrote:

>>>>> (let ((japanese (decode-coding-string "\e$B%F%9%H\e(B" 'iso-2022-jp)))
>>>>>   (easy-menu-define testing-menu global-map "Testing."
>>>>>     `("Testing"
>>>>>       [,japanese (lambda nil (interactive) (message ,japanese)) t]))
>>>>>   (easy-menu-add testing-menu global-map))

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

> I found a way to reproduce this problem.  I have this X
> resource:

> *fontSet: -*-*-medium-r-normal--16-*-*-*

(I had removed all the X resources for Emacs because I wanted to
have a real vanilla Emacs, which can be launched by only the -q
option.  I will configure it in the ~/.emacs file even if I need
to use customized ones.  Although I have only two fontsets since
I don't know how to do it, I don't feel inconvenience with them.)

> When I remove the resource and run Emacs, I see incorrect
> menu label, and

>>>> (set-face-font 'menu (face-font 'menu))

> surely make the label displayed correctly.

Thank you for verifying it.

> And, starting emacs with:

> % emacs -xrm '*fontSet: -*-*-medium-r-normal--16-*-*-*'

> also displays the menu label correctly.  Please try it by
> yourself.

I confirmed it makes Emacs display Japanese menu.

> Anyway, I suspect that somehow the menu widget is not
> created with a correct fontset.  Though, I have not yet
> investigated the problem deeper.

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

Regards,




reply via email to

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