<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.7.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSLayoutManager/showPackedGlyphs:length:glyphRange:atPoint:font:color:printingAdjustment:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSLayoutManager(im)showPackedGlyphs:length:glyphRange:atPoint:font:color:printingAdjustment:"
  },
  "title" : "showPackedGlyphs:length:glyphRange:atPoint:font:color:printingAdjustment:"
}
-->

# showPackedGlyphs:length:glyphRange:atPoint:font:color:printingAdjustment:

Draws a range of glyphs.

```
- (void) showPackedGlyphs:(char *) glyphs length:(NSUInteger) glyphLen glyphRange:(NSRange) glyphRange atPoint:(NSPoint) point font:(NSFont *) font color:(NSColor *) color printingAdjustment:(NSSize) printingAdjustment;
```

## Parameters

`glyphs`

The glyphs to draw; may contain embedded `NULL` bytes.

`glyphLen`

The number of bytes pointed at by `glyphs`; this is twice the number of glyphs contained.

`glyphRange`

The range of glyphs to draw.

`point`

The point at which to draw the glyphs.

`font`

The font of the glyphs to draw.

`color`

Color of the glyphs to draw.

`printingAdjustment`

`NSZeroSize` when drawing to the screen, but when printing may contain values by which the nominal spacing between the characters should be adjusted.

## Discussion

The  `glyphRange`, `point`, `font`, and `color` parameters are passed in merely for information purposes. They are already set in the graphics state. If for any reason you modify the set color or font, you must restore it before returning from this method.

You should never call this method, but you might override it.

---

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)