From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Japanese fonts Date: Mon, 4 Jul 2011 16:54:11 +0200 Message-ID: <89B6F3AF-FFB3-4FB4-B424-F4E50A6DB51E@Web.DE> References: <87liwesn4q.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1309791529 23047 80.91.229.12 (4 Jul 2011 14:58:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 14:58:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Daniel Anderson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 04 16:58:45 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qdkbg-0006eJ-1f for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Jul 2011 16:58:40 +0200 Original-Received: from localhost ([::1]:47282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdkbf-0004fO-8A for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Jul 2011 10:58:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdkXT-0003zx-MV for help-gnu-emacs@gnu.org; Mon, 04 Jul 2011 10:54:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdkXS-0003N0-6O for help-gnu-emacs@gnu.org; Mon, 04 Jul 2011 10:54:19 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:56066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdkXR-0003MX-Lh for help-gnu-emacs@gnu.org; Mon, 04 Jul 2011 10:54:17 -0400 Original-Received: from smtp04.web.de ( [172.20.0.225]) by fmmailgate03.web.de (Postfix) with ESMTP id F40781930F6BB; Mon, 4 Jul 2011 16:54:13 +0200 (CEST) Original-Received: from [95.223.133.88] (helo=ip-95-223-133-88.unitymediagroup.de) by smtp04.web.de with asmtp (WEB.DE 4.110 #2) id 1QdkXN-0003wm-00; Mon, 04 Jul 2011 16:54:13 +0200 In-Reply-To: <87liwesn4q.fsf@gmail.com> X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+ZatJqOlcQJEYLU34hl2IWzF3uNgx85IIKze1f QjksHZWwFDC+H364rrqTKXBGLdVC6a9bCbYQY+gywAuDmJAdMA 8hL+wLSZsJatb/7iKmOg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81489 Archived-At: 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! =20 You might also try to pass a --font or -fn font argument to GNU Emacs =20= or set an X resource =96 which can a be fontset as well: Emacs.Fontset-0: -*-bitstream vera sans = mono-medium-r-normal-*-10-*-*-=20 *-*-*-fontset-10,\ chinese-gb2312:-*-fangsong ti-medium-r-*-*-10-*-*-*-*-*-=20= 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 =20 "encodings"). GNU Emacs knows quite a lot of them... -- Greetings Pete Sending unsolicited commercial eMail to this account incurs a fee of =80 = =20 500 per message and acknowledges the legality of this contract.