---
title: "getAdvancements(_:forGlyphs:count:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsfont/getadvancements(_:forglyphs:count:)"
---

# getAdvancements(_:forGlyphs:count:)

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

## Declaration

```swift
func getAdvancements(_ advancements: NSSizeArray, forGlyphs glyphs: UnsafePointer<NSGlyph>, count glyphCount: Int)
```

## Discussion

Discussion Returns in advancements an array of the advancements for the glyphs specified by glyphs and rendered by the receiver. The  glyphCount must specify the count of glyphs passed in glyphs.

## See Also

### Related Documentation

- [boundingRectForFont](appkit/nsfont/boundingrectforfont.md)

### Instance Methods

- [advancement(forGlyph:)](appkit/nsfont/advancement(forglyph:).md)
- [boundingRect(forGlyph:)](appkit/nsfont/boundingrect(forglyph:).md)
- [getAdvancements(_:forPackedGlyphs:length:)](appkit/nsfont/getadvancements(_:forpackedglyphs:length:).md)
- [getBoundingRects(_:forGlyphs:count:)](appkit/nsfont/getboundingrects(_:forglyphs:count:).md)
- [glyph(withName:)](appkit/nsfont/glyph(withname:).md)
- [screenFont(with:)](appkit/nsfont/screenfont(with:).md)
- [withSize(_:)](appkit/nsfont/withsize(_:).md)
