Re: [gtk-list] BadFont error from gtk+971025




"Stephen R. Kifer" <kifers@apci.net> writes:

> I just compiled and installed GTK+971025 and whenever I try to run
> testgtk I get the following error:
> 
> ** ERROR **: BadFont (invalid Font parameter)
> IOT trap/Abort

Well, the default GTK font is

-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*

and the rc file for testgtk additionally uses

-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*
-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*

(I don't think I've missed any, but could be wrong.) So try 

xfd -fn -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*

etc., until you get an error. If this doesn't work, you'll
probably have to compile with --enable-debug, --disable-shared
run it, and do a traceback when it stops to see where the
problem occured. 

(Looks like we should to check the return of gdk_font_load in
gtkstyle.c and warn if it isn't found.)

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]