Ethereal-users: Re: [Ethereal-users] ethereal shows squares

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Tue, 17 Apr 2001 00:15:32 -0700
On Tue, Apr 17, 2001 at 05:01:21PM +1000, Jesus M. Salvo Jr. wrote:
> I then upgraded to XFree86 4.0.3 ( from 3.3.6 ) plus a few other 
> packages along the way ( moved from 2.91 to gcc 2.95, binutils to 2.9.5 
> ). gtk+ was not updated. Now everytime I run ethereal and capture 
> packets, the windows showing the packets captured and the protocol tree 
> shows squares instead of readable text.

More fun with fonts.

Try removing, if possible, every single font on your system that has any
2-byte encoding; that may keep Ethereal from finding all those fonts. 
For one thing, remove all fonts with "10646" in the font name, if any
exist.  (No, I don't know how you'd go about doing that.)

(Basically, GTK+ prior to 2.0 does *NOT* make it particularly easy to
handle multi-byte character sets, or fonts with multi-byte encodings;
the types of strings you hand to various GTK+ routines, i.e. whether
they're single-byte-character or double-byte-character strings, depends
on *the type of font that will be used to draw the strings*, and, as I
remember, that's a royal pain to figure out, if it's possible to figure
out at all.)