How do I get “San Francisco” as font name when getting the system font name? The following code
[quote] dim FontSize as Double = NSFontMBS.systemFontSize
dim theFont as NSFontMBS = NSFontMBS.systemFontOfSize(FontSize)
dim FontName as String = theFont.familyName[/quote]
has .AppleSystemUIFont as result, which is kind of ugly. Or can I assume that a font name starting with a . is the system font? But then I’d have to track what the system font is for each version of Mac OS.
I am not surprised. As far as I know System Font Regular under 10.11.4 is San Francisco, not Helvetica Neue.
Note that System Font Regular exists in the system, and can even be displayed by Xojo with that name. It is in
/System/Library/Fonts/SFNSDisplay-Regular.otf
It furiously looks like San Francisco : same design (to the detail of characters), almost same spacing, the baseline slightly differs.
[quote=255705:@Sam Rowlands]@Michel Bujardet I am not surprised. As far as I know System Font Regular under 10.11.4 is San Francisco, not Helvetica Neue.
It was a huge feature at WWDC 2015, there was even an entire talk on the new system font. The designers are obviously very proud of it.[/quote]
… and it was such a dreadful decision. Jonathan Ive is megalomaniac. Rose gold. Flat UI. Constant nudging. Smart Battery Case. He is going to ruin Apple.
System fonts design with 72 dpi screens are constrained by the poor rendition of curves and obliques. As a result, the fonts that best rendered were kind of angular.
It seems both Segoe UI on Windows and San Francisco (which look strangely similar) have been made possible by HiDPI.