unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "It's me FKtPp ;)" <m_pupil@yahoo.com.cn>
Subject: Re: Should the fonts listed by xlsfonts  be used by emacs?
Date: Fri, 23 Jun 2006 00:12:43 +0800	[thread overview]
Message-ID: <e7efi8$jmk$1@sea.gmane.org> (raw)
In-Reply-To: <1150949401.924040.84970@u72g2000cwu.googlegroups.com>

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.

  parent reply	other threads:[~2006-06-22 16:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22  4:10 Should the fonts listed by xlsfonts be used by emacs? c.c
2006-06-22  8:27 ` Peter Dyballa
     [not found] ` <mailman.3161.1150964833.9609.help-gnu-emacs@gnu.org>
2006-06-22 13:34   ` c.c
2006-06-22 17:10     ` Peter Dyballa
2006-06-22 16:12 ` It's me FKtPp ;) [this message]
2006-06-25  4:49 ` c.c
2006-06-26 16:07   ` Kevin Rodgers
2006-06-26 22:23   ` Jason Rumney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='e7efi8$jmk$1@sea.gmane.org' \
    --to=m_pupil@yahoo.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).