<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.11.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSFontManager/removeFontDescriptor(_:fromCollection:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFontManager(im)removeFontDescriptor:fromCollection:"
  },
  "title" : "removeFontDescriptor(_:fromCollection:)"
}
-->

# removeFontDescriptor(_:fromCollection:)

Removes the specified font descriptor from the specified collection.

```
func removeFontDescriptor(_ descriptor: NSFontDescriptor, fromCollection collection: String)
```

## Parameters

`descriptor`

The font descriptor to remove.

`collection`

The font collection from which to remove the descriptor.

---

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)