<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBezierPath/appendGlyphs(_:count:in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBezierPath(im)appendBezierPathWithGlyphs:count:inFont:"
  },
  "title" : "appendGlyphs(_:count:in:)"
}
-->

# appendGlyphs(_:count:in:)

Appends the outlines of the specified glyphs to the path.

```
func appendGlyphs(_ glyphs: UnsafeMutablePointer<NSGlyph>, count: Int, in font: NSFont)
```

## Parameters

`glyphs`

A C-style array of `NSGlyph` data types to add to the path.

`count`

The number of glyphs in the `glyphs` parameter.

`font`

The font in which the glyphs are encoded.

## Discussion

If the glyphs are not encoded in the font specified by the `fontObj` parameter—that is, the font does not have an entry for one of the specified glyphs—then no path is appended to the receiver.

You must set the path’s current point (using the [`move(to:)`](/documentation/AppKit/NSBezierPath/move(to:)) method or through the creation of a preceding line or curve segment) before you invoke this method. If the path is empty, this method raises an <doc://com.apple.documentation/documentation/Foundation/NSExceptionName/genericException> exception.

## See Also

[`+  drawPackedGlyphs:atPoint:`](/documentation/AppKit/NSBezierPath/drawPackedGlyphs(_:at:))

Draws a set of packed glyphs at the specified point in the current coordinate system.



---

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)