<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTypesetter/printingAdjustment(in:forNominallySpacedGlyphRange:packedGlyphs:count:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTypesetter(cm)printingAdjustmentInLayoutManager:forNominallySpacedGlyphRange:packedGlyphs:count:"
  },
  "title" : "printingAdjustment(in:forNominallySpacedGlyphRange:packedGlyphs:count:)"
}
-->

# printingAdjustment(in:forNominallySpacedGlyphRange:packedGlyphs:count:)

Returns the interglyph spacing in the specified range when sent to a printer.

```
class func printingAdjustment(in layoutMgr: NSLayoutManager, forNominallySpacedGlyphRange nominallySpacedGlyphsRange: NSRange, packedGlyphs: UnsafePointer<UInt8>, count packedGlyphsCount: Int) -> NSSize
```

## Parameters

`layoutMgr`

The layout manager that will do the drawing.

`nominallySpacedGlyphsRange`

The range of the glyphs whose spacing is desired.

`packedGlyphs`

The glyphs as they are packed for sending to be drawn in `layoutMgr`.

`packedGlyphsCount`

The number of glyphs in `packedGlyphs`.

## Return Value

The interglyph spacing in the specified range when sent to a printer. If the font metrics of the font used for displaying text on the screen is different from the font metrics of the font used in printing, then this interglyph spacing may need to be adjusted slightly to match that used on the screen.

---

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)