Ethereal-users: Re: [ethereal-users] Win95, Sqaures instead of english

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 24 May 2000 10:12:21 -0500
On Wed, May 24, 2000 at 01:10:13AM -0500, Locksley O. Young wrote:
> 
> 
> Just downloaded the Win32 binaries and I am getting the wrong font when
> reading captured trace files. I get squares and other unreadable
> characters on the packet detail display. However the Tools/Summary
> pulldown indicates that it recognizes and read the captured file OK.
> 
> What should I check for this?
> 
> Many thanks.

The fonts used for the Win32 port are (from ethereal/gtk/main.h):

#ifdef WIN32
#define MONO_MEDIUM_FONT "-*-lucida console-medium-*-*-*-*-100-*-*-*-*-*-*"
#define MONO_BOLD_FONT "-*-lucida console-bold-*-*-*-*-100-*-*-*-*-*-*"
#else

These are the X11-type names for the fonts. Basically, in Windows-speak,
its "Lucida Console", which is "lucon.ttf".

Yes, we *do* need a way to be able to select the font instead of hard-coding
it in.

--gilbert