Re: Problem with string to fontset conversion

2005-04-05 Thread Kim F. Storm
Jan D. [EMAIL PROTECTED] writes: That is truly odd. How come the XIM code doesn't trigger this same problem? I think the XIM code explicitly names the charset it wants. But our XIM code calls XCreateFontSet, just like Xt code. And browsing the Xt source, the Cannot convert string to

Re: Problem with string to fontset conversion

2005-04-05 Thread Stefan Monnier
$ ./missfonts $ ./missfonts -*-helvetica-medium-r-*--*-120-*-*-*-*-*-*,* Missing 0: ISO8859-1 $ ./missfonts -*-helvetica-medium-r-*--*-120-*-*-*-*,* Missing 0: ISO8859-1 The xfs configuration doesn't list any ISO8859-1 fonts: Somewhere, specifying UTF-8 requires ISO8859-1 ? So it seems

Re: Problem with string to fontset conversion

2005-04-05 Thread Kim F. Storm
Stefan Monnier [EMAIL PROTECTED] writes: $ ./missfonts $ ./missfonts -*-helvetica-medium-r-*--*-120-*-*-*-*-*-*,* Missing 0: ISO8859-1 $ ./missfonts -*-helvetica-medium-r-*--*-120-*-*-*-*,* Missing 0: ISO8859-1 The xfs configuration doesn't list any ISO8859-1 fonts: Somewhere, specifying

Re: Problem with string to fontset conversion

2005-04-04 Thread Jan D.
BTW, I googled for Missing charsets in String to FontSet conversion. Similar problems have been reported for several other applications. The missing charset is just a warning. But the Cannot convert string ... to type FontSet is a hard failure. We could try to create a fontset, and if that fail

Re: Problem with string to fontset conversion

2005-04-04 Thread Stefan Monnier
(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

Re: Problem with string to fontset conversion

2005-04-04 Thread Jan D.
That is truly odd. How come the XIM code doesn't trigger this same problem? I think the XIM code explicitly names the charset it wants. But our XIM code calls XCreateFontSet, just like Xt code. And browsing the Xt source, the Cannot convert string to FontSet message seems to be generated when

Re: Problem with string to fontset conversion

2005-04-03 Thread Stefan Monnier
BTW, I googled for Missing charsets in String to FontSet conversion. Similar problems have been reported for several other applications. The missing charset is just a warning. But the Cannot convert string ... to type FontSet is a hard failure. Stefan

Re: Problem with string to fontset conversion

2005-04-02 Thread Stefan Monnier
(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

Re: Problem with string to fontset conversion

2005-04-02 Thread Kim F. Storm
Jan D. [EMAIL PROTECTED] writes: These commands may very well choose ugly fonts, but the output, if any, is interesting to see. The error message is not shown (but as you say, the fonts are not good): (gdb) r -q -xrm 'Emacs*fontSet: XtDefaultFontSet' Starting program:

Re: Problem with string to fontset conversion

2005-04-01 Thread Jan D.
Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string -*-helvetica-medium-r-*--*-120-*-*-*-*,* to type FontSet I finally got time to change this. Now, the old font resource is used by default. The fontset handling is only enabled if you specify a fontset,

Re: Problem with string to fontset conversion

2005-04-01 Thread Jan D.
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

Re: Problem with string to fontset conversion

2005-03-22 Thread Reiner Steib
On Mon, Mar 21 2005, Jan D. wrote: If you have specified a font that is iso8859-1 and your locale is UTF-8, you will get this message. The manual suggests to specify iso8859-1. Is this correct? ,[ (info (emacs)Font X) ] | REGISTRY | ENCODING | These together make up the X font

Re: Problem with string to fontset conversion

2005-03-22 Thread Stefan Monnier
I don't have .Xresources -- but as I said in my previous mail, the message did change to Warning: Cannot convert string -*-helvetica-medium-r-*--*-120-*-*-*-*,* to type FontSet but the menu bar font is still wrong... Unless/until someone can help me fix this, could someone just take

Re: Problem with string to fontset conversion

2005-03-22 Thread Reiner Steib
On Tue, Mar 22 2005, Jan D. wrote: 2005-03-22 kl. 12.51 skrev Reiner Steib: On Mon, Mar 21 2005, Jan D. wrote: If you have specified a font that is iso8859-1 and your locale is UTF-8, you will get this message. The manual suggests to specify iso8859-1. Is this correct? ,[ (info

Re: Problem with string to fontset conversion

2005-03-18 Thread Jan D.
Kim F. Storm wrote: Symptoms: Just updated from CVS, bootstrapped, and now emacs -q issues a message that it didn't issue before: Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string -*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1 to type FontSet -- and the