Ethereal-users: RE: [ethereal-users] Demande info

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

From: Francois Honore <francois.honore@xxxxxxxxxxxxxx>
Date: Sun, 20 Aug 2000 22:53:40 +0200
Thank you for your help,

For some reasons, the use of the -m option didn't work
but I apply your patch and now It was working great.

Francois 

-----Message d'origine-----
De:	Guy Harris [SMTP:gharris@xxxxxxxxxxxx]
Date:	vendredi 18 aout 2000 07:01
A:	Guy Harris
Cc:	francois.honore@xxxxxxxxxxxxxx; ethereal-users@xxxxxxxx; ethereal-dev@xxxxxxxx
Objet:	Re: [ethereal-users] Demande info

(For the benefit of those reading "ethereal-dev" but not
"ethereal-users", the problem is that not all UNIX-flavored systems
appear to supply the Lucida Typewriter fonts; those are the default
fonts for the fixed-width text in Ethereal-on-X11, so, on those
platforms, Ethereal doesn't start unless you choose different fonts with
"-m" and "-b".)

On Thu, Aug 17, 2000 at 10:30:41AM -0700, Guy Harris wrote:
> I suppose you could fall back on the Old Reliable X Font "fixed":
> 
> 	ethereal -m fixed ...

...which, in XFree86 and, I suspect, X11 from the X Consortium, is an
alias for

	-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1

"6x13" is also an alias for that, and there's a "6x13bold" which is an
alias for

	-misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso8859-1

If we make MONO_MEDIUM_FONT and MONO_BOLD_FONT be

	-*-fixed-medium-r-semicondensed-*-*-120-*-*-*-*-iso8859-1

and

	-*-fixed-bold-r-semicondensed-*-*-120-*-*-*-*-iso8859-1

that loads the fonts in question as the default fonts.

With those fonts, the display seems to look pretty good - it's a bit
more tightly, well, *condensed* horizontally than with Lucida
Typewriter, but some might consider that a feature, not a bug (on my
display right now, with one capture, Lucida Typewriter shows an Info
field for one packet that reads "DHCP Discover - Transaction ID 0" with
the "0" cut off, whilst "fixed" shows "DHCP Discover - Transacton ID
0xffeefe3b".

Those fonts appear to have the same width, so that selecting text
doesn't cause any weird shifting.

I've attached a patch to change the default fonts to the "fixed
semicondensed" fonts in question; people may want to try them and decide
whether they're too narrow, or too small, or too ugly, or too
{something} to make the default fonts - if not, I'm tempted to make them
the default.

I'll also look into putting a font preference (a single font preference
- no point in requiring that the medium-weight and bold fonts be
specified separately, especially given that they have to have the same
width - and done in such a way as to, hopefully, not be X-dependent)
into the preferences file, and allowing that to be set using the GTK+
font selection box.
<< Fichier: patch.txt>>