From: Neil Conway Date: 2002-03-19T15:59:49+09:00 Subject: Re: Test::Unit GTk GUI On Tue, 2002-03-19 at 01:26, Bil Kleb wrote: > Bil Kleb wrote: > > > > I am running RH7.2 with Ruby 1.6.7 (2002-03-08) [i686-linux], > > GTk 1.2.10, Ruby-GTk-0.25, and TestUnit-0.1.4 on the following: > > I thought Gtk-0.25 was the latest according to the link given > in Test::Unit's documentation, i.e., > > http://www.ruby-lang.org/gtk/en/index.html That's the webpage of the old maintainer -- I'm the current maintainer of Ruby-Gtk, which you can find at http://ruby-gnome.sf.net. The Test::Unit guys should consider updating their docs. > but alas! there is already a 0.27 version available from, > > http://www.ruby-lang.org/en/raa-list.rhtml?name=Ruby%2FGTK > > Someone needs to update the former web page on ruby-lang.org? I was under the impression that it had been updated to redirect to the new page, but apparently that is not the case. > Still reading the manuals/docs and pining for the green bar, Heh, I feel your pain :-) From a look at the code, the likely culprit is that your local system fonts aren't properly setup (and/or the font that Test::Unit is asking for is unreasonable). On my system, it segfaults when passed the string that Test::Unit uses, but "-adobe-avantgarde-medium-r-normal-*-*-140-*-*-p-*-iso8859-2" works, for example. I've improved the code in CVS so that Gtk::Style#set_font fails more gracefully if it's passed an invalid Gdk::Font (i.e. it no longer segfaults, it just complains and then bails out). Hope this helps! Thanks for the bug report. Cheers, Neil -- Neil Conway PGP Key ID: DB3C29FC