<!--
{
  "availability" : [
    "iOS: 4.1.0 - 13.0.0",
    "iPadOS: 4.1.0 - 13.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.6.0 - 10.15.0",
    "tvOS: 9.0.0 - 13.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 2.0.0 - 6.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/CTFontManagerRegisterFontsForURLs(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@F@CTFontManagerRegisterFontsForURLs"
  },
  "title" : "CTFontManagerRegisterFontsForURLs(_:_:_:)"
}
-->

# CTFontManagerRegisterFontsForURLs(_:_:_:)

Registers fonts from the specified array of font URLs with the Font Manager. Registered fonts are discoverable through font descriptor matching.

```
func CTFontManagerRegisterFontsForURLs(_ fontURLs: CFArray, _ scope: CTFontManagerScope, _ errors: UnsafeMutablePointer<Unmanaged<CFArray>?>?) -> Bool
```

## Parameters

`fontURLs`

Array of font URLs.

`scope`

Scope constant defining the availability and lifetime of the registration. See [`CTFontManagerScope`](/documentation/CoreText/CTFontManagerScope) for values to pass for this parameter.

`errors`

Pointer to an array of CFError objects which, in case of failed registration, contain error information. Each error contains a CFArray of font URLs corresponding to [`kCTFontManagerErrorFontURLsKey`](/documentation/CoreText/kCTFontManagerErrorFontURLsKey). These URLs represent the font files that caused the error and were not successfully registered. The array must be released by the caller. Can be `NULL`.

## Return Value

Returns `true` if registration of all font URLs was successful, otherwise `false`.

---

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)