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: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 17 Aug 2000 16:26:17 -0700 (PDT)
> Can you run xlsfonts? It comes with XFree86 and Solaris (probably many
> others).

If it doesn't have "xlsfonts", it's unworthy of being called an X
client; he preobably has it.

> I have Exceed on my NT system, and with the display pointing at the PC:
> 
> xlsfonts -fn -*-lucida-*-*-*-*-*-*-*-*-*-*-*-*

Note that you'd have to quote the second argument if you're using the C
shell or a compatible shell, or you'll get a "No match" error (the
Bourne shell and compatibles, by default, just pass the string on if it
doesn't match any file names).

That string won't match the Lucida Typewriter fonts, though; you'd have
to do the

> xlsfonts -fn -*-*-*-*-*-*-*-*-*-*-*-*-*-*

to get them - but, if you're doing that, you might as well do just
"xlsfonts".

The "fixed" to which I referred earlier is, I think, an alias for *one*
of the "-misc-fixed-medium-r-normal--*-*-*-*-c-*-iso8859-1" fonts, but I
don't know which one; the equivalent bold font's name can be found by
replacing "medium" with "bold" - one should, if one gives a "-m" flag
wiht a particular font, also give a "-b" flag with the matching bold
font.

I am sorely tempted to make the fonts Ethereal uses preferences in the
preference file - and *NOT* make them be raw naked XLFD names (it's
truly appalling the extent to which X obliges end-users to deal with
those N-component monstrosities); instead, I'd be tempted to

	1) use the GTK+ font selection dialog;

	2) give a subset of the name in the preferences file, sufficient
	   to derive the names of the normal *and* bold-face versions
	   (and try to make it capable of handling whatever Owen
	   Taylor's doing with fonts in Pango).

(But I seem to remember somebody, perhaps Graham Bloice, a while ago
suggesting that we use inverse video rathe than boldface; I also seem to
remember a patch being supplied, and perhaps even checked in, but we're
still using boldface, so perhaps I'm misremembering.)