SystemFont

A font loaded from a system font. Falls back to a default theme font if not implemented on the host OS.

SystemFont.swift:26
class SystemFont

SystemFont loads a font from a system font with the first matching name from fontNames.

It will attempt to match font style, but it’s not guaranteed.

The returned font might be part of a font collection or be a variable font with OpenType “weight”, “width” and/or “italic” features set.

You can create FontVariation of the system font for precise control over its features.