Contents

custom(_:size:relativeTo:)

Create a custom font with the given name and size that scales relative to the given textStyle.

Declaration

static func custom(_ name: String, size: CGFloat, relativeTo textStyle: Font.TextStyle) -> Font

See Also

Creating custom fonts