[Top][All Lists]

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

Re: Problem with string to fontset conversion

From: Stefan Monnier
Subject: Re: Problem with string to fontset conversion
Date: Mon, 04 Apr 2005 14:08:21 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>> (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
>> 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 XCreateFontSet returns NULL, so maybe
we could track it down further by making an appropriate call to XFontSet and
seeing what it returns.  Presumably it will return NULL but with a non-zero
list of missing charsets.


reply via email to

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