In Ruby when trying to specify a font I get an error "FXDCWindow::setFont: illegal or NULL font specified.". I tried doing it like this:
@font = FXFont.new(app, 'times')
I need to set a font in order to use drawText in my program and I can't figure out how to. Oh and for the record I'm justt a beginner. Thanks!
According to the documentation, you need to specify the size at least. Try:
@font = FXFont.new(app, "times,12")