Package apple.coretext.enums
Class CTFontManagerError
- java.lang.Object
-
- apple.coretext.enums.CTFontManagerError
-
public final class CTFontManagerError extends java.lang.Object[@enum] 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.
-
-
Field Summary
Fields Modifier and Type Field Description static longAlreadyRegisteredstatic longAssetNotFoundstatic longCancelledByUserstatic longDuplicatedNamestatic longExceededResourceLimitstatic longFileNotFoundstatic longInsufficientInfostatic longInsufficientPermissionsstatic longInUsestatic longInvalidFilePathstatic longInvalidFontDatastatic longMissingEntitlementstatic longNotRegisteredstatic longRegistrationFailedstatic longSystemRequiredstatic longUnrecognizedFormatstatic longUnsupportedScope
-
-
-
Field Detail
-
FileNotFound
public static final long FileNotFound
- See Also:
- Constant Field Values
-
InsufficientPermissions
public static final long InsufficientPermissions
- See Also:
- Constant Field Values
-
UnrecognizedFormat
public static final long UnrecognizedFormat
- See Also:
- Constant Field Values
-
InvalidFontData
public static final long InvalidFontData
- See Also:
- Constant Field Values
-
AlreadyRegistered
public static final long AlreadyRegistered
- See Also:
- Constant Field Values
-
NotRegistered
public static final long NotRegistered
- See Also:
- Constant Field Values
-
InUse
public static final long InUse
- See Also:
- Constant Field Values
-
SystemRequired
public static final long SystemRequired
- See Also:
- Constant Field Values
-
ExceededResourceLimit
public static final long ExceededResourceLimit
- See Also:
- Constant Field Values
-
RegistrationFailed
public static final long RegistrationFailed
- See Also:
- Constant Field Values
-
MissingEntitlement
public static final long MissingEntitlement
- See Also:
- Constant Field Values
-
InsufficientInfo
public static final long InsufficientInfo
- See Also:
- Constant Field Values
-
CancelledByUser
public static final long CancelledByUser
- See Also:
- Constant Field Values
-
DuplicatedName
public static final long DuplicatedName
- See Also:
- Constant Field Values
-
InvalidFilePath
public static final long InvalidFilePath
- See Also:
- Constant Field Values
-
AssetNotFound
public static final long AssetNotFound
- See Also:
- Constant Field Values
-
UnsupportedScope
public static final long UnsupportedScope
- See Also:
- Constant Field Values
-
-