From: Lyle Johnson Date: 2004-05-07T09:13:57+09:00 Subject: Re: FoX: X Error after fx_app.normalFont= Yuri Leikind wrote: > I try to set the normal font for the FXApp object after it has been run > (fx_app.normalFont = my_font), and I get the following errors: > > X Error: code 7 major 56 minor 0: BadFont (invalid Font parameter). > > The font of the main window is not changed, though newly created windows > have the requested font. > > The font object itself is Ok, just because fx_app.normalFont= works well > with the same object before FXApp.run() > > > What's wrong? Did you call create() on the font before assigning it to the FXApp, i.e. my_font = FXFont.new(...) my_font.create fx_app.normalFont = my_font ?