<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSFont/boldSystemFont(ofSize:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFont(cm)boldSystemFontOfSize:"
  },
  "title" : "boldSystemFont(ofSize:)"
}
-->

# boldSystemFont(ofSize:)

Returns the standard system font in boldface type with the specified size.

```
class func boldSystemFont(ofSize fontSize: CGFloat) -> NSFont
```

## Parameters

`fontSize`

The desired font size specified in points. If you specify `0.0` or a negative number for this parameter, the method returns the system font at the default size.

## Return Value

A font object of the specified size.

## Discussion

If `fontSize` is 0 or negative, returns the boldface system font at the default size.

## See Also

[`init(name:size:)`](/documentation/AppKit/NSFont/init(name:size:))

Creates a font object for the specified font name and font size.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)