<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/typeface-information",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Typeface Information"
}
-->

# Typeface Information

Constants for type faces such as italic or bold.

## Discussion

Typeface information is specified by the lower 16 bits of `NSFontSymbolicTraits` using the following constants.

## Topics

### Constants

[`var NSFontItalicTrait: Int`](/documentation/AppKit/NSFontItalicTrait)

The font’s typestyle is italic.

[`var NSFontBoldTrait: Int`](/documentation/AppKit/NSFontBoldTrait)

The font’s typestyle is boldface.

[`var NSFontExpandedTrait: Int`](/documentation/AppKit/NSFontExpandedTrait)

The font’s typestyle is expanded. Expanded and condensed traits are mutually exclusive.

[`var NSFontCondensedTrait: Int`](/documentation/AppKit/NSFontCondensedTrait)

The font’s typestyle is condensed. Expanded and condensed traits are mutually exclusive.

[`var NSFontMonoSpaceTrait: Int`](/documentation/AppKit/NSFontMonoSpaceTrait)

The font uses fixed-pitch glyphs if available. The font may have multiple glyph advances (many CJK glyphs contain two spaces).

[`var NSFontVerticalTrait: Int`](/documentation/AppKit/NSFontVerticalTrait)

The font uses vertical glyph variants and metrics.

[`var NSFontUIOptimizedTrait: Int`](/documentation/AppKit/NSFontUIOptimizedTrait)

The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.



---

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)