From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "It's me FKtPp ;)" Newsgroups: gmane.emacs.help Subject: Re: Should the fonts listed by xlsfonts be used by emacs? Date: Fri, 23 Jun 2006 00:12:43 +0800 Message-ID: References: <1150949401.924040.84970@u72g2000cwu.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150992865 20626 80.91.229.2 (22 Jun 2006 16:14:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Jun 2006 16:14:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 22 18:14:22 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FtRoc-0004ke-Vo for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jun 2006 18:13:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FtRoc-000314-BK for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jun 2006 12:13:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FtRoP-00030G-Ds for help-gnu-emacs@gnu.org; Thu, 22 Jun 2006 12:13:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FtRoN-0002z6-PR for help-gnu-emacs@gnu.org; Thu, 22 Jun 2006 12:13:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FtRoN-0002z2-Kd for help-gnu-emacs@gnu.org; Thu, 22 Jun 2006 12:13:43 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FtRzO-0002XN-1t for help-gnu-emacs@gnu.org; Thu, 22 Jun 2006 12:25:06 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FtRo9-0004dF-Rw for help-gnu-emacs@gnu.org; Thu, 22 Jun 2006 18:13:30 +0200 Original-Received: from 125.96.100.201 ([125.96.100.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jun 2006 18:13:29 +0200 Original-Received: from m_pupil by 125.96.100.201 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jun 2006 18:13:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 125.96.100.201 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) In-Reply-To: <1150949401.924040.84970@u72g2000cwu.googlegroups.com> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35602 Archived-At: c.c wrote: > Hi, > > I am tring use the font simsun in my GNU Emacs 21.4.1. I think I have > setuped this font correctly, because I can see it in the xlsfonts's > output, like this > > -misc-simsun-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 > -misc-simsun-medium-r-normal--0-0-0-0-p-0-gbk-0 > -misc-simsun-medium-r-normal--0-0-0-0-p-0-iso10646-1 > -misc-simsun-medium-r-normal--0-0-0-0-p-0-iso8859-1 > -misc-simsun-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0 > -misc-simsun-medium-r-normal--0-0-0-0-p-0-jisx0208.1990-0 > -misc-simsun-medium-r-normal--0-0-0-0-p-0-koi8-r > > but when I try to use these fonts in my emacs like this > > emacs -fn "-*-simsun-medium-r-*-*-12-*-*-*-p-*-gb2312.1980-*" > > I always fail with message "X protocol error: BadName (named color or > font does not exist) on protocol request 77". > > what's wrong ? I think, the -fn switch want a fontname or font_set_name, not things like "-*-simsun-medium-r-*-*-12-*-*-*-p-*-gb2312.1980-*". The later is a XLFD fontset pattern. IN emacs do: C-h i d m emacs i fontset and you will see the fontset-related manual.