Maybe this is incredibly easy and I’m just completely missing it, but does anyone have any tips on how to use the various weights of the San Francisco font? I have a need to use San Francisco Display Black in an UI element and I cannot for the life of me figure out how to get it.
Thanks Sam! I looked in the latest App Kit release and think I found to what you were referring. Unfortunately, I still don’t know how to refer to San Francisco specifically. However, I’m now thinking maybe that was the wrong approach. One thing I did find in App Kit was a reference to .AppleSystemUIFontHeavy. When I use that as the font name, I get exactly what I was looking for. It seems to work fine, at least in initial tests.
That methodology does make complete sense. Apple’s changed system fonts a number of times over the years. Hard-coding the font doesn’t make sense. Obviously, why Xojo provides “System” as a font. Just doesn’t have the various weights. Your method does.