garrysmod icon indicating copy to clipboard operation
garrysmod copied to clipboard

Update Fonts In the Menu for macOS

Open Jake3231 opened this issue 7 years ago • 3 comments

This ensures that Helvetica Neue is used on some of the menu buttons and input boxes. On macOS, fonts were some serif font, but this makes sure everything is the proper font.

Jake3231 avatar Apr 23 '17 23:04 Jake3231

They used to work fine but broke after some OS update (Yosemite maybe?). It's an Awesomium problem that is probably addressed in CEF, if/when that comes for macOS.

Bo98 avatar Apr 23 '17 23:04 Bo98

Okay. You're right. Would this affect any users of OS X 10.9 or users of Windows/Linux? If this is included, it'll ensure that the latest versions of macOS are using the proper behavior. It'd be nice to see CEF replace Awesomium, since it seems to be causing a lot of issues.

Jake3231 avatar Apr 23 '17 23:04 Jake3231

Just as an update, I have a theory as to why this issue may be happening in the first place. OS X 10.11 El Capitan changed the system font to Apple's proprietary San Francisco font. If Gmod attempts to use the system font on 10.11 or later, it may not know how to handle San Francisco. The reason I assume this is that macOS used to use Helvetica Neue as the system font, so that may've caused things to just work out okay until the switch to San Francisco.

Jake3231 avatar Jul 01 '17 21:07 Jake3231

Correct me if I am wrong, but this font is already set for the BODY element in the same file, which would affect all the buttons, etc., making this PR do nothing.

robotboy655 avatar Aug 02 '23 18:08 robotboy655