Where is SF Mono font?
Asked Answered
C

2

11

I'm looking at the video of WWDC 2016 Session 803, Typography and Fonts.

The video spends quite a lot of time talking about a font called SF Mono, the third member of the San Francisco font family, showing it off in different weights and character sets. Sounds great. I'm ready to use it in the iOS 10 version of my app.

There's just one problem: Where is it? It doesn't seem to be included in iOS itself, and when I download San Francisco from Apple, it isn't included there either. I know I could pull a copy out of Xcode 8 itself and include that in my app, but surely that isn't the intended approach. What am I missing?

(Not a duplicate of What is the NSFont name for the font 'SF Mono'?. He’s talking about NSFont name. I’m talking about the location of the physical font file, such as a .ttf. that I can include in an iOS app.)

Childbearing answered 2/9, 2016 at 15:45 Comment(10)
I'll have to sit down and watch the whole video, but are you sure the Apple engineer said that the font was available on iOS? If I recall, the font is only available through Xcode's DVTKit framework.Analytic
I opened rdar://28467249 last week but it was closed as a dupe of an existing open issue. Did you open one Matt?Analytic
@Analytic It wasn't I. Thanks for doing that, though; duplicates, though frustrating, are important.Childbearing
Interesting. According to open radar there are a few other tickets that were opened. The duplicate target rdar://26790072 appears to be a macOS enhancement rather than an iOS one. I've asked Apple for more information.Analytic
Just an update: Apple got back to me about closing this iOS bug/enhancement as a dupe of the macOS one. They said that progress on the iOS work relies on the macOS ticket. ¯\_(ツ)_/¯Analytic
Thanks for the update, @JAL. This is so nutty. Why did they gas on and on about this font if there is no font?Childbearing
This could be an help: #39891278Blackboard
I asked about this again at WWDC this year. While I was told that the radar comments are private, there is some sort of legal issue with releasing the font.Analytic
Possible duplicate of What is the NSFont name for the font 'SF Mono'?Shaftesbury
@VolkerE. no it isn’t.Childbearing
H
1

SF Mono can be downloaded from the Fonts for Apple Platforms page.

Hsu answered 23/12, 2019 at 17:11 Comment(0)
P
0

I've read this which makes me believe we can't use the SF Mono font in an iOS app. https://developer.apple.com/forums/thread/82166

However, iOS 15 brings in markdown with:

Text("`Monospaced`")

So you can monospace that way or use the modifier:

.monospaced()

https://developer.apple.com/documentation/swiftui/font/monospaced()

Pigpen answered 26/1, 2023 at 0:8 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.