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

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

Can't display Japanese text in menu bar


From: Katsumi Yamaoka
Subject: Can't display Japanese text in menu bar
Date: Tue, 12 Dec 2006 08:38:52 +0900
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

Hi,

I noticed that Japanese text cannot be displayed in the menu bar.
I use the LUCID menu bar, not the GTK version, and I don't have
X resources.  You will be able to reproduce this by starting
Emacs with the -Q option and evaluating the following form:

(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))

I found the way to make it work.  That is to re-set the font for
the `menu' face as follows:

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

But I don't think this is the right way.  WDYT?

Regards,




reply via email to

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