<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/nsfont-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated Symbols"
}
-->

# Deprecated Symbols

Review unsupported symbols and their replacements.

## Topics

### Methods

[`getAdvancements(_:forGlyphs:count:)`](/documentation/AppKit/NSFont/getAdvancements(_:forGlyphs:count:))

Returns an array of the advancements for the specified glyphs rendered by the receiver.

[`getAdvancements(_:forPackedGlyphs:length:)`](/documentation/AppKit/NSFont/getAdvancements(_:forPackedGlyphs:length:))

Returns an array of the advancements for the specified packed glyphs and rendered by the receiver.

[`advancement(forGlyph:)`](/documentation/AppKit/NSFont/advancement(forGlyph:))

Returns the nominal spacing for the given glyph—the distance the current point moves after showing the glyph—accounting for the receiver’s size.

[`boundingRect(forGlyph:)`](/documentation/AppKit/NSFont/boundingRect(forGlyph:))

Returns the bounding rectangle for the specified glyph, scaled to the receiver’s size.

[`getBoundingRects(_:forGlyphs:count:)`](/documentation/AppKit/NSFont/getBoundingRects(_:forGlyphs:count:))

Returns an array of the bounding rectangles for the specified glyphs rendered by the receiver.

[`glyph(withName:)`](/documentation/AppKit/NSFont/glyph(withName:))

Returns the named encoded glyph, or –1 if the receiver contains no such glyph.

[`screenFont(with:)`](/documentation/AppKit/NSFont/screenFont(with:))

Returns a bitmapped screen font, when sent to a font object representing a scalable PostScript font, with the specified rendering mode, matching the receiver in typeface and matrix (or size), or `nil` if such a font can’t be found.

### Properties

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

The rendering mode of the font.

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

The scalable PostScript font corresponding to current font.

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

The bitmapped screen font for the current font.

### Types

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

A constant for glyph packing.

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

The font rendering mode.



---

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)