CTFontManagerUnregisterGraphicsFont(_:_:)
Unregisters the specified graphics font with the font manager.
Declaration
func CTFontManagerUnregisterGraphicsFont(_ font: CGFont, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> BoolParameters
- font:
The graphics font to be unregistered.
- error:
Returns by indirection an error object in the case of failed unregistration.
Return Value
true if unregistration of the font was successful, otherwise false.
Discussion
Unregistered fonts are no longer discoverable through font descriptor matching. Fonts that are backed by files should be unregistered using CTFontManagerUnregisterFontsForURL(_:_:_:).
See Also
Related Documentation
Functions
CTFontDescriptorMatchFontDescriptorsWithProgressHandler(_:_:_:)CTFontManagerCompareFontFamilyNames(_:_:_:)CTFontManagerCopyAvailableFontFamilyNames()CTFontManagerCopyAvailableFontURLs()CTFontManagerCopyAvailablePostScriptNames()CTFontManagerCreateFontDescriptorFromData(_:)CTFontManagerCreateFontDescriptorsFromURL(_:)CTFontManagerCreateFontRequestRunLoopSource(_:_:)CTFontManagerEnableFontDescriptors(_:_:)CTFontManagerGetAutoActivationSetting(_:)CTFontManagerGetScopeForURL(_:)CTFontManagerIsSupportedFont(_:)CTFontManagerRegisterFontsForURL(_:_:_:)CTFontManagerRegisterFontsForURLs(_:_:_:)CTFontManagerRegisterGraphicsFont(_:_:)