In my attempts to work on my engine, I've noticed that a number of Macintosh users have been informing me that they can't see the text in my GuiTextCtrl objects. Here is an example of some typical code and my attempts to make it Macintosh compatible (the area in question is in bold italics):
NPC Code:
new GuiTextCtrl("InsideText")
{
makefirstresponder(false);
useOwnProfile = true;
x = 6;
y = 0;
width = RPGText.width;
height = RPGText.height;
text = attr[3];
if (getplatform() == "win")
profile.fonttype = "Courier";
profile.fontcolor = {255, 255, 255, 1};
}
I have tried logic to change the GuiControlProfile to a different font if the detecting platform is a Macintosh, but that didn't work either.
My guess is that the Macintosh does not support the Courier font for whatever reason (this is my preferred font because all of the characters are the same size). This issue occurred on the older Graal version as well as v6.
How would I proceed in making these GuiTextCtrls Macintosh compatible? Is there a list of Macintosh compatible fonts somewhere?