Ethereal-dev: Re: [Ethereal-dev] Made a lot of GUI changes today!

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 26 Jan 2004 23:33:26 -0800
On Tue, Jan 20, 2004 at 07:52:03PM +0100, Ulf Lamping wrote:
> d.) Win32 only: Try to get the win32 system font and fontsize at program 
> startup and show the menus/dialogs and such with the same font and 
> fontsize like other win32 windows.

On my NT 4.0 machine, with GTK+ 1.3[.x], it seems to pick a font that
looks as if it might be the menu font, but picks a size smaller than the
one in Windows applicatin menu bars.

However, I tried manually tweaking the code to force various font sizes,
and *no* size seemed to match.

(That stuff ultimately belongs in GTK+ - and so would an equivalent for
X11 desktops; unfortunately, the only registered XSETTINGS value for a
font is GTK+-only:

	http://www.freedesktop.org/Standards/XSettingsRegistry

I don't know why that's GTK+-only - perhaps Pango font names don't map
to Qt font names (which would presumably be a combination of a family
name, point size, weight, and italic flag) and *vice versa*.

For now, though, we'd need to do it ourselves.)