help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Japanese fonts


From: Peter Dyballa
Subject: Re: Japanese fonts
Date: Mon, 4 Jul 2011 16:54:11 +0200


Am 04.07.2011 um 06:09 schrieb Daniel Anderson:

The issue is that the kanji character set for japanese fonts in emacs
shows up as one font, while the hiragana font shows up as another
font. The inconsistency is a bit ugly. Any one have any solutions?


Create a fontset in which both ranges are covered by the same font! You might also try to pass a --font or -fn font argument to GNU Emacs or set an X resource – which can a be fontset as well:

Emacs.Fontset-0: -*-bitstream vera sans mono-medium-r-normal-*-10-*-*- *-*-*-fontset-10,\ chinese-gb2312:-*-fangsong ti-medium-r-*-*-10-*-*-*-*-*- gb2312.1980-0,\
        !        chinese-gbk:-*-fangsong ti-medium-r-*-*-10-*-*-*-*-*-gbk-0,\
                unicode:-*-fangsong ti-medium-r-*-*-10-*-*-*-*-*-iso10646-1
        Emacs.font: fontset-14

Here you see also the use of character "ranges" (so-called "encodings"). GNU Emacs knows quite a lot of them...

--
Greetings

  Pete

Sending unsolicited commercial eMail to this account incurs a fee of € 500 per message and acknowledges the legality of this contract.




reply via email to

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