emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Problem with string to fontset conversion


From: Jan D.
Subject: Re: Problem with string to fontset conversion
Date: Sat, 02 Apr 2005 09:34:27 +0200
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Kim F. Storm wrote:

(gdb) r -q  -xrm 'Emacs*fontSet: -*-helvetica-medium-r-*--*-120-*-*-*-*,*'
Starting program: /home/kfs/fsf/latest/src/emacs -q  -xrm 'Emacs*fontSet: 
-*-helvetica-medium-r-*--*-120-*-*-*-*,*'
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*,*" to 
type FontSet

Program exited normally.
(gdb) r -q -xrm 'Emacs*fontSet: -*-helvetica-medium-r-*--*-120-*-*-*-*-*-*,*'
Starting program: /home/kfs/fsf/latest/src/emacs -q -xrm 'Emacs*fontSet: 
-*-helvetica-medium-r-*--*-120-*-*-*-*-*-*,*'
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-*-*,*" 
to type FontSet

There is something strange going on, "*" means match all fonts and should succeed to create a fontset.

What does this do on your system:

% emacs -xrm 'Emacs*fontSet: XtDefaultFontSet'

% emacs -xrm 'Emacs*fontSet: -*-*-*-R-*-*-*-120-*-*-*-*,*'

and finally

% emacs -xrm 'Emacs*fontSet: *'

These commands may very well choose ugly fonts, but the output, if any, is interesting to see.

You said earlier that you have LANG=en_US.UTF-8. Can you try also LANG=C and make sure no LC_* is set in the environment?

Thanks,

   Jan D.





reply via email to

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