First of all, thank you Brad for the new release! :-)

I've just installed it and found that if the LANG environment is not
100% OK blackbox crashes with a nasty segmentation fault.

In my case I had:

    export LANG='en_US.iso-8859-1'

The crash occurs in Font.cc:449 (textHeight), when font.fontSet() is
called for the first time.

The problem originates in findFondSet (Font.cc:187). The first call to
XCreateFontSet() returns NULL, then findFontSet modifies the font list
and tries again. Unfortunately, on its 2nd call XCreateFontSet() also
returns NULL, but this time the "fs" pointer is never verified, so a
NULL is stored and returned later by fontSet().

The question is: which is the best way to solve it? We can:

1) If fs==NULL try again with "fixed" and put the classical message
"Font xxxx missing, using fixed" on the stderr.

2) Just quit leaving a message like "Cannot find a proper font set,
check your LANG environment variable".

What do you think U'all, any suggestions?

Carlos

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html

Reply via email to