<!--
{
  "documentType" : "article",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/core-text-functions",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Core Text Functions"
}
-->

# Core Text Functions

## Topics

### Functions

[`CTFontDescriptorMatchFontDescriptorsWithProgressHandler(_:_:_:)`](/documentation/CoreText/CTFontDescriptorMatchFontDescriptorsWithProgressHandler(_:_:_:))

Matches font descriptors and tracks progress with a progress handler.

[`CTFontManagerCompareFontFamilyNames(_:_:_:)`](/documentation/CoreText/CTFontManagerCompareFontFamilyNames(_:_:_:))

A comparator function to compare font family names and sort them according to Apple guidelines.

[`CTFontManagerCopyAvailableFontFamilyNames()`](/documentation/CoreText/CTFontManagerCopyAvailableFontFamilyNames())

Returns an array of visible font family names sorted for user interface display.

[`CTFontManagerCopyAvailableFontURLs()`](/documentation/CoreText/CTFontManagerCopyAvailableFontURLs())

Returns an array of font URLs.

[`CTFontManagerCopyAvailablePostScriptNames()`](/documentation/CoreText/CTFontManagerCopyAvailablePostScriptNames())

Returns an array of unique PostScript font names for the fonts.

[`CTFontManagerCreateFontDescriptorFromData(_:)`](/documentation/CoreText/CTFontManagerCreateFontDescriptorFromData(_:))

Creates a font descriptor representing the font in the supplied data.

[`CTFontManagerCreateFontDescriptorsFromURL(_:)`](/documentation/CoreText/CTFontManagerCreateFontDescriptorsFromURL(_:))

Returns an array of font descriptors representing each of the fonts in the specified URL.

[`CTFontManagerCreateFontRequestRunLoopSource(_:_:)`](/documentation/CoreText/CTFontManagerCreateFontRequestRunLoopSource(_:_:))

Creates a reference to a run loop source used to convey font requests from the Font Manager.

[`CTFontManagerEnableFontDescriptors(_:_:)`](/documentation/CoreText/CTFontManagerEnableFontDescriptors(_:_:))

Enables or disables the matching font descriptors for font descriptor matching.

[`CTFontManagerGetAutoActivationSetting(_:)`](/documentation/CoreText/CTFontManagerGetAutoActivationSetting(_:))

Gets the auto-activation setting for the specified bundle identifier.

[`CTFontManagerGetScopeForURL(_:)`](/documentation/CoreText/CTFontManagerGetScopeForURL(_:))

Returns the registration scope of the specified URL.

[`CTFontManagerIsSupportedFont(_:)`](/documentation/CoreText/CTFontManagerIsSupportedFont(_:))

Determines whether a file is in a supported font format.

[`CTFontManagerRegisterFontsForURL(_:_:_:)`](/documentation/CoreText/CTFontManagerRegisterFontsForURL(_:_:_:))

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

[`CTFontManagerRegisterFontsForURLs(_:_:_:)`](/documentation/CoreText/CTFontManagerRegisterFontsForURLs(_:_:_:))

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

[`CTFontManagerRegisterGraphicsFont(_:_:)`](/documentation/CoreText/CTFontManagerRegisterGraphicsFont(_:_:))

Registers the specified graphics font with the font manager.

[`CTFontManagerSetAutoActivationSetting(_:_:)`](/documentation/CoreText/CTFontManagerSetAutoActivationSetting(_:_:))

Sets the auto-activation setting for the specified bundle identifier.

[`CTFontManagerUnregisterFontsForURL(_:_:_:)`](/documentation/CoreText/CTFontManagerUnregisterFontsForURL(_:_:_:))

Unregisters fonts from the specified font URL with the Font Manager. Unregistered fonts are no longer discoverable through font descriptor matching.

[`CTFontManagerUnregisterFontsForURLs(_:_:_:)`](/documentation/CoreText/CTFontManagerUnregisterFontsForURLs(_:_:_:))

Unregisters fonts from the specified array of font URLs with the Font Manager. Unregistered fonts are no longer discoverable through font descriptor matching.

[`CTFontManagerUnregisterGraphicsFont(_:_:)`](/documentation/CoreText/CTFontManagerUnregisterGraphicsFont(_:_:))

Unregisters the specified graphics font with the font manager.

[`CTFontManagerCopyRegisteredFontDescriptors(_:_:)`](/documentation/CoreText/CTFontManagerCopyRegisteredFontDescriptors(_:_:))

Retrieves the font descriptors that were registered with the font manager.

[`CTFontManagerCreateFontDescriptorsFromData(_:)`](/documentation/CoreText/CTFontManagerCreateFontDescriptorsFromData(_:))

Creates an array of font descriptors for the fonts in the supplied data.

[`CTFontManagerRegisterFontDescriptors(_:_:_:_:)`](/documentation/CoreText/CTFontManagerRegisterFontDescriptors(_:_:_:_:))

Registers font descriptors with the font manager.

[`CTFontManagerRegisterFontURLs(_:_:_:_:)`](/documentation/CoreText/CTFontManagerRegisterFontURLs(_:_:_:_:))

Registers fonts from the specified font URLs with the font manager.

[`CTFontManagerRegisterFontsWithAssetNames(_:_:_:_:_:)`](/documentation/CoreText/CTFontManagerRegisterFontsWithAssetNames(_:_:_:_:_:))

Registers named font assets in the specified bundle with the font manager.

[`CTFontManagerRequestFonts(_:_:)`](/documentation/CoreText/CTFontManagerRequestFonts(_:_:))

Resolves font descriptors specified on input.

[`CTFontManagerUnregisterFontDescriptors(_:_:_:)`](/documentation/CoreText/CTFontManagerUnregisterFontDescriptors(_:_:_:))

Unregisters font descriptors with the font manager.

[`CTFontManagerUnregisterFontURLs(_:_:_:)`](/documentation/CoreText/CTFontManagerUnregisterFontURLs(_:_:_:))

Unregisters fonts from the specified font URLs with the font manager.

[`CTGetCoreTextVersion()`](/documentation/CoreText/CTGetCoreTextVersion())

Returns the version of the Core Text framework.

[`CTRubyAnnotationCreate(_:_:_:_:)`](/documentation/CoreText/CTRubyAnnotationCreate(_:_:_:_:))

Creates an immutable ruby annotation object.

[`CTRubyAnnotationCreateCopy(_:)`](/documentation/CoreText/CTRubyAnnotationCreateCopy(_:))

Creates an immutable copy of a ruby annotation object.

[`CTRubyAnnotationCreateWithAttributes(_:_:_:_:_:)`](/documentation/CoreText/CTRubyAnnotationCreateWithAttributes(_:_:_:_:_:))

Creates an immutable ruby annotation object with the specified attributes.

[`CTRubyAnnotationGetAlignment(_:)`](/documentation/CoreText/CTRubyAnnotationGetAlignment(_:))

Retrieves the alignment value of a ruby annotation object.

[`CTRubyAnnotationGetOverhang(_:)`](/documentation/CoreText/CTRubyAnnotationGetOverhang(_:))

Retrieves the overhang value of a ruby annotation object.

[`CTRubyAnnotationGetSizeFactor(_:)`](/documentation/CoreText/CTRubyAnnotationGetSizeFactor(_:))

Retrieves the size factor of a ruby annotation object.

[`CTRubyAnnotationGetTextForPosition(_:_:)`](/documentation/CoreText/CTRubyAnnotationGetTextForPosition(_:_:))

Retrieves the ruby text for a particular position in a ruby annotation.

[`CTRubyAnnotationGetTypeID()`](/documentation/CoreText/CTRubyAnnotationGetTypeID())

Retrieves the type of the ruby annotation object.

[`CTFontCopyNameForGlyph(_:_:)`](/documentation/CoreText/CTFontCopyNameForGlyph(_:_:))

Retrieves the name for the specified glyph.

[`CTFontDrawImageFromAdaptiveImageProviderAtPoint(_:_:_:_:)`](/documentation/CoreText/CTFontDrawImageFromAdaptiveImageProviderAtPoint(_:_:_:_:))

[`CTFontGetTypographicBoundsForAdaptiveImageProvider(_:_:)`](/documentation/CoreText/CTFontGetTypographicBoundsForAdaptiveImageProvider(_:_:))

[`CTFontHasTable(_:_:)`](/documentation/CoreText/CTFontHasTable(_:_:))



---

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)