<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/fonts",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Fonts"
}
-->

# Fonts

Manage the fonts used to display text.

## Discussion

The [`NSFont`](/documentation/AppKit/NSFont) and [`NSFontManager`](/documentation/AppKit/NSFontManager) classes encapsulate and manage font families, sizes, and variations. The [`NSFont`](/documentation/AppKit/NSFont) class defines a single object for each distinct font; for efficiency, these objects, which can be rather large, are shared by all the objects in your app. The [`NSFontPanel`](/documentation/AppKit/NSFontPanel) class defines the font specification panel that’s presented to the user.

## Topics

### Font Data

[`NSFont`](/documentation/AppKit/NSFont)

The representation of a font in an app.

[`NSFontDescriptor`](/documentation/AppKit/NSFontDescriptor)

A dictionary of attributes that describe a font.

[`NSFontTraitMask`](/documentation/AppKit/NSFontTraitMask)

Constants for isolating specific traits of a font.

[`NSFontFamilyClass`](/documentation/AppKit/NSFontFamilyClass)

Constants that classify certain stylistic qualities of the font.

[`NSFontDescriptor.SymbolicTraits`](/documentation/AppKit/NSFontDescriptor/SymbolicTraits-swift.struct)

A symbolic description of the stylistic aspects of a font.

[`NSFontAssetRequest`](/documentation/AppKit/NSFontAssetRequest)

[`NSFontSymbolicTraits`](/documentation/AppKit/NSFontSymbolicTraits)

A symbolic description of stylistic aspects of a font.

### Management

[`NSFontManager`](/documentation/AppKit/NSFontManager)

The center of activity for the font-conversion system.

[`NSFontCollection`](/documentation/AppKit/NSFontCollection)

A font collection, which is a group of font descriptors taken together as a single object.

[`NSMutableFontCollection`](/documentation/AppKit/NSMutableFontCollection)

A mutable collection of font descriptors taken together as a single object.

[`NSFontCollectionOptions`](/documentation/AppKit/NSFontCollectionOptions)

Constants that support font collection management.



---

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)