MaxGUI RequestFont appearance?

Miscellaneous Forums/MacOS X Discussion/MaxGUI RequestFont appearance?

You're right - thanks for the follow-up. I'd seen that RequestFont took a Font parameter in MaxIDE, so I tried "GFont:TGuiFont = RequestFont( GFont )" but that didn't work since GFont was Null.

Using GFont:TGuiFont = RequestFont( LoadGuiFont( "Courier", 10 ) ) works, but only if the font Loaded is valid (so a typo like "Cuorier" returns Null). Thus you need to know at least one valid font on the Mac (call it the "traitor font" <g>) to use RequestFont to find out the rest.

I'll update my bug report with this info. At the least, I'd think that the help should be updated to mention this requirement on a Mac.

Tricrokra, maybe(?) the need for "live" font update on a Mac is why a font object needs to be passed to the requester.