public final class CTFontManagerError
extends java.lang.Object
Font registration errors
Errors that would prevent registration of fonts for a specified font file URL. [@constant] kCTFontManagerErrorFileNotFound The file does not exist at the specified URL. [@constant] kCTFontManagerErrorInsufficientPermissions Cannot access the file due to insufficient permissions. [@constant] kCTFontManagerErrorUnrecognizedFormat The file is not a recognized or supported font file format. [@constant] kCTFontManagerErrorInvalidFontData The file contains invalid font data that could cause system problems. [@constant] kCTFontManagerErrorAlreadyRegistered The file has already been registered in the specified scope.
Errors that would prevent un-registration of fonts for a specified font file URL. [@constant] kCTFontManagerErrorNotRegistered The file is not registered in the specified scope. [@constant] kCTFontManagerErrorInUse The font file is actively in use and cannot be unregistered. [@constant] kCTFontManagerErrorSystemRequired The file is required by the system and cannot be unregistered. [@constant] kCTFontManagerErrorRegistrationFailed The file could not be processed due to an unexpected FontProvider error. [@constant] kCTFontManagerErrorMissingEntitlement The file could not be processed because the provider does not have a necessary entitlement. [@constant] kCTFontManagerErrorInsufficientInfo The font descriptor does not have information to specify a font file. [@constant] kCTFontManagerErrorCancelledByUser The operation was cancelled by the user. [@constant] kCTFontManagerErrorDuplicatedName The file could not be registered because of a duplicated font name. [@constant] kCTFontManagerErrorInvalidFilePath The file is not in an allowed location. It must be either in the application's bundle or an on-demand resource. [@constant] kCTFontManagerErrorExceededResourceLimit The operation failed due to a system limitation. [@constant] kCTFontManagerErrorUnsupportedScope The specified scope is not supported.
| Modifier and Type | Field and Description |
|---|---|
static long |
AlreadyRegistered |
static long |
AssetNotFound |
static long |
CancelledByUser |
static long |
DuplicatedName |
static long |
ExceededResourceLimit |
static long |
FileNotFound |
static long |
InsufficientInfo |
static long |
InsufficientPermissions |
static long |
InUse |
static long |
InvalidFilePath |
static long |
InvalidFontData |
static long |
MissingEntitlement |
static long |
NotRegistered |
static long |
RegistrationFailed |
static long |
SystemRequired |
static long |
UnrecognizedFormat |
static long |
UnsupportedScope |
public static final long FileNotFound
public static final long InsufficientPermissions
public static final long UnrecognizedFormat
public static final long InvalidFontData
public static final long AlreadyRegistered
public static final long NotRegistered
public static final long InUse
public static final long SystemRequired
public static final long ExceededResourceLimit
public static final long RegistrationFailed
public static final long MissingEntitlement
public static final long InsufficientInfo
public static final long CancelledByUser
public static final long DuplicatedName
public static final long InvalidFilePath
public static final long AssetNotFound
public static final long UnsupportedScope