[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't display Japanese text in menu bar
From: |
Kenichi Handa |
Subject: |
Re: Can't display Japanese text in menu bar |
Date: |
Tue, 19 Dec 2006 13:42:56 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.91 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Katsumi Yamaoka <address@hidden> writes:
> [1 <text/plain (7bit)>]
> First of all, this issue is not necessarily serious at least for
> me and Nomiya-san since we have a workaround to solve it. So,
> you can let us wait. I have doubts that it doesn't work for us
> even if it works for Handa-san, though.
>>>>>> In <address@hidden> Katsumi Yamaoka wrote:
>>>>>>> In <address@hidden> Handa-san 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))
>>> It works for me (my Emacs also uses LUCID) both in
>>> ja_JP.EUC-JP and en_US.UTF-8. In which locale did you test
>>> it?
I found a way to reproduce this problem. I have this X
resource:
*fontSet: -*-*-medium-r-normal--16-*-*-*
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.
And, starting emacs with:
% emacs -xrm '*fontSet: -*-*-medium-r-normal--16-*-*-*'
also displays the menu label correctly. Please try it by
yourself.
Anyway, I suspect that somehow the menu widget is not
created with a correct fontset. Though, I have not yet
investigated the problem deeper.
---
Kenichi Handa
address@hidden