I’ve noticed that system fonts on macOS (CCDevice-mac.mm) are loaded using:
[[NSFontManager sharedFontManager]
fontWithFamily:fntName
traits:NSUnboldFontMask | NSUnitalicFontMask
weight:0
size:size];
which does not allow to load specific members of a font family (like italic, bold, etc). Why don’t you simply use something like this:
[NSFont fontWithName:fntName size:size]
That’s the way system fonts are loaded in CCDevice-ios.mm. Not sure why you took a different approach on macOS.
Is there any other way to create a Label on macOS using a system font like, lets say, HelveticaNeue-Bold?