<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSFont/advancement(forGlyph:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFont(im)advancementForGlyph:"
  },
  "title" : "advancement(forGlyph:)"
}
-->

# 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.

```
func advancement(forGlyph glyph: NSGlyph) -> NSSize
```

## Parameters

`glyph`

The glyph whose advancement is returned.

## Return Value

The advancement spacing in points.

## Discussion

This spacing is given according to the glyph’s movement direction, which is either strictly horizontal or strictly vertical.

## See Also

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

The maximum advance of any of the font’s glyphs.



---

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)