Re: [Fxruby-users] FXFont initialization is complex
Status: Inactive
Brought to you by:
lyle
From: Simon S. <ne...@ad...> - 2004-06-17 23:06:56
|
On Thursday 17 June 2004 13:44, Lyle Johnson wrote: > On Jun 17, 2004, at 4:52 AM, Lyle Johnson wrote: > > On Jun 16, 2004, at 6:48 PM, Simon Strandgaard wrote: > >> First I tried changing to a windows specific font > >> > >> @font = FXFont.new(application, "Fixedsys") > >> > >> But that segfaulted > > > > OK, I will try this out on Windows shortly... > > OK, Simon, I just ran a quick test under Windows and could not > reproduce this one. I took the "mditest.rb" example program from the > FXRuby examples directory, and changed this line: The windows box is located at my friends place.. its xp. I cannot remember the details about the setup.. I think he has used the one-click-installer.. I installed the newest version of fox+fxruby.. but it was the day before yesterday.. so I guess its 1.0.28 ? Next time I visit him, I will try to make 'mditest.rb' fail, they same way. > > @font = FXFont.new(getApp(), "courier", 15, FONTWEIGHT_BOLD) > > to this: > > @font = FXFont.new(getApp(), "Fixedsys") > > This ran fine under Windows (and used the expected font). This was with > the FXRuby-1.0.29 release from yesterday, under Ruby 1.8.1 on a Windows > XP box. > > If you find the time, can you submit a bug report to the SourceForge > page for FXRuby with a short example program that demonstrates the > problem? Time is not the problem. I run linux, I will have to visit my friend in order to reproduce the problem.. Then I will submit a bugreport.. I don't know when I visit my friend again.. so until then :-) -- Simon Strandgaard |