The San Francisco Mono font is one of the best monospace coding fonts out there, and it is closely associated with the Swift language today, similar to Fira Mono in the Rust community. Today, the Fira font family is an important resource for the Rust community, and many Rust projects use it in their API documentation websites, which helps provide a common visual language for Rust users.
While I don’t expect Apple to open-source the San Francisco fonts, I wonder if it would be possible for a limited license exemption to be carved out to allow maintainers of Swift projects to serve this font on API documentation websites?
yes that seems like the most common approach today, but that causes the API reference sites to look different across different platforms, as opposed to the standard library docs. this thread is about serving the San Francisco fonts as a web font.
The blog uses font-family: "SF Mono", Menlo, Consolas, Monaco, "Courier New", monospace, serif; — but without @font-face declarations for SF Mono.
These forums use font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace;
We’ll be open sourcing DocC as part of the Swift project (see the Meet DocC documentation in Xcode session we just posted). As part of that, we hope to bring DocC to additional platforms as well!