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

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

Re: Should the fonts listed by xlsfonts be used by emacs?


From: It's me FKtPp ;)
Subject: Re: Should the fonts listed by xlsfonts be used by emacs?
Date: Fri, 23 Jun 2006 00:12:43 +0800
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

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.





reply via email to

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