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: Tue, 22 Mar 2005 22:29:42 +0100

"Jan D." <address@hidden> writes:

Sorry, I was too hasty -- the message has changed:

Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string
"-*-helvetica-medium-r-*--*-120-*-*-*-*,*" to type FontSet

Can you see if you even have that font in any suitable charset, i.e.

% xlsfonts|grep 'helvetica-medium-r-*120'


$ xlsfonts|grep 'helvetica-medium-r-.*120'
-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso10646-1

It should pick up this font.

If the locale and font codeset isn't compatible you should see just
the first line ("Missing ...").  The second line indicates another
problem, usually a missing font.

You could try
% emacs -q -xrm '*menubar*font: fixed'
and see if you get just the first message then.


That's what I get:

(gdb) r -q -xrm '*menubar*font: fixed'
Starting program: /home/kfs/fsf/latest/src/emacs -q -xrm '*menubar*font: fixed'
Warning: Missing charsets in String to FontSet conversion

But the menu bar looks really awful !!

Fixed isn't a pretty font. It may be that UTF-8 is not that well supported by your XFree86 version. In that case the patch should be redone so that only an explicit set of the fontSet resource for the menu bar triggers XCreateFontSet. I can do this modification in a couple of days. I'm going to run some tests on some older XFRee86 versions first to see if poor UTF-8 support really is the problem, or if there is something else.



What did Stefan's change do that triggered this ?

man XCreateFontSet explains it all. Basically it tries to make a collection of fonts based on the base font (helvetica-medium) that supports your locale. But that fails.

        Jan D.





reply via email to

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