Re: [Fxruby-users] FXFont initialization is complex
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@kn...> - 2004-06-17 11:44:41
|
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: @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? Thanks, Lyle |