On Sat, Aug 31, 2002 at 12:28:30PM -0700, Guy Harris wrote:
> 1) switching between GTK+ 1.2[.x] and GTK+ 2 will, if you have a
> preferences file that has a font name (e.g., if you saved the
> preferences from the GUI), give font warnings until you
> select a new font and save preferences.
Yes, after fixing some broken pango and gtk2 config stuff, removing
my .ethereal directory made it possible for me to see fonts again.
> 2) the code in "prefs.c" should, perhaps, choose, on UNIX,
> a different default font name depending on whether you're using
> GTK+ 1.2[.x] or GTK+ 2.x.
>
> 1) suggests that we should, perhaps, have separate preferences for GTK+
> 1.2[.x] and GTK+ 2 font names, or come up with a scheme for using a
> single font name that could be transformed into XLFD names, GTK+ 2
> names, Qt/KDE names, etc.. (However, for native non-X-based GUIs, e.g.
> Windows and MacOS X Aqua, we might still want different font names; it
> *might* be that we could have a single font name for all X-based GUIs,
> but I wouldn't assume that we can.)
>
> 2) suggests that there should, perhaps, be a GUI-dependent routine
> called by the "prefs.c" code to set "prefs.gui_font_name"; it could be
> stubbed out on Tethereal, e.g. returning NULL (with any changes needed
> to the code shared between Ethereal and Tethereal to make that work).
I like both ideas.
> However, the assertion failure suggests that *Ethereal* isn't doing
> enough of the right sort of error checking - it should have caught the
> presumed failure to load a font and worked around it better.
The assertions seem to be fixed since I fixed the pango and gtk2 config
stuff. I'll check later today.
Ciao and thanks for your help!
Jörg
--
Joerg Mayer <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.