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: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Wed, 24 May 2000 16:45:12 +0100
> > 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.

You can supply the fonts to use from the command line with the -m and -b
parameters for the medium and bold fonts respectively.  These should be
fixed width fonts and unfortunately for win32 users should be specified as
X11-type names as shown above.

e.g.

To use courier new for both the medium and bold fonts (the following should
be all on one line)

ethereal -m "-*-courier new-medium-*-*-*-*-100-*-*-*-*-*-*" -b "-*-courier
new-bold-*-*-*-*-100-*-*-*-*-*-*"

Regards,

Graham Bloice
Software Developer
Trihedral UK Limited

Tel: +44 (0)7002 874433
Fax: +44 (0)7002 228880

Email: mailto:graham.bloice@xxxxxxxxxxxxx
Web: http://www.trihedral.com