And some dissectors really require a proportional font, or they need some
table layout possibilities. Example: the WBXML dissector, which displays the
indentation level, the token parser state, the code page of the state and
the indented rendering of the binary XML in textual form. I once reported
this to the developer of Packetyzer (that uses proportional fonts). If we
move towards proportional fonts, then we must foresee a way to use distinct
fonts for rendering one and the same hf line, or all will look ugly (e.g.,
display the bit mask in a fixed and the data in a proportional font).
If we're thinking in that direction, then we might want to distinguish
between verbatim field data and lookup data by using different font
attributes (italic, underlined...). But then Ethereal will look like some
weird word processor I think :)))
Regards,
Olivier
| From: Erwin Rol
|
| On Sun, 2003-11-16 at 02:11, Ronnie Sahlberg wrote:
| > ----- Original Message -----
| > From: "Erwin Rol"
| > Subject: [Ethereal-dev] Ethereal GUI
| >
| >
| > > What also would be very nice is being able to use
| proportional fonts but
| > > still draw them with a fixed width.
| >
| > Uh, No. I seriously doubt that would be a very nice feature.
| >
| > It would look really really weird. Proportional fonts
| using fixed spacing
| > would just very wrong.
| > Please do create a mockup to see just how weird and
| horrible it would look.
| >
|
| Proportional fonts for the normal text parts of the protocol tree make
| it easier to read and make it possible to select a font that
| is used by
| all other applications too. But the only two parts of Ethereal where
| proportional fonts are a problem are the flags fields, the dots, ones
| and zeros have different widths, but they all should align, else it
| looks very strange. And the hex dump display, there the groups of two
| hex number should also align. And for the ASCII dump part of the hex
| view the same. In all those situations we are not talking about normal
| "text". Especially the hex view will hardly change since in most
| proportional fonts the 0-9 A-F are about the same size. The flag field
| are just dots and 1 and 0 there it also will not look weird. And the
| ASCII dump is a ASCII dump anyway, that always looks weird :-)
|
| >
| > God gave us 24x80 and fixed sized fonts for a reason, you know.
|
| To use them on fixed sized VT100 terminals ? ;-)
|
| - Erwin
|
| --
| Erwin Rol Software Engineering - http://www.erwinrol.com/