Closed tiagolr closed 10 years ago
That seems to have fixed the problem for Mac targets, the actual line of code turned out to be:
if (font == null && Sys.systemName() == "windows") {
(Although I'm not sure if it should be "windows" or "Windows")...
BUT - Now Flash & HTML5 dont work, it says "Accessing this field requires a system platform"...
Thanks!
Great, keeping this open until that is added (tomorrow probably)
Ok, what seems to work better is this:
if (font == null) {
if (font == null && Sys.systemName() == "Windows") {
font = "Consolas";
}
That way it reverts to the original behavior for flash & html targets, otherwise they don't work because only native desktops have the Sys.systemName command...
nice
Ok fix submitted, thanks alot
It seems that GameConsole does not work under Mac/OSX.
Unfortunately i don't have a Mac and cant test it.
Can anyone test it/ confirm it?
I have a guess that this may be causing the problem:
inside
GCInterface l:83 GCInterface l:96 GCMonitor l:82 GCProfiler l:89
Anyway the condition should be changed to something like (font == null && SYS.system == "windows")
Hopefully that solves it.