Ethereal-dev: RE: [ethereal-dev] working patch for cleanly scrolling the byte v iew
> Determines the total height of a given NULL-terminated string. This
> value is not generally useful, because you cannot determine how
> this total height will be drawn in relation to the baseline. See
> gdk_string_extents().
>
> descent
> the maximum distance that the font, when drawn, descends
> below the baseline.
>
> Maybe those two measurements will help? There's probably still row
> spacing in there, though.
That's possible. I could use just the ascent from that call as the row
height, but that is likely going to be the same thing as my calling
gdk_string_height with "0" or some other capital letter as the parameter.
It might be possible to get some better results by using "Ij" or similar and
gdk_string_extents, to get both the ascent and descent, but it still doesn't
get you the row spacing.
-- Nathan
------------------------------------------------------------
Nathan Neulinger EMail: nneul@xxxxxxx
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services Fax: (573) 341-4216