public final class CTFontManagerScope
extends java.lang.Object
Scope for font registration. A uses session refers to a login session in macOS, and the current booted session in iOS. [@constant] kCTFontManagerScopeNone The font is not registered and does not participate in font descriptor matching. This isn't a valid scope to specify while registering fonts. [@constant] kCTFontManagerScopeProcess The font is available to the current process for the duration of the process unless directly unregistered. [@constant] kCTFontManagerScopePersistent The font is available to all processes for the current user session and will be available in subsequent sessions unless unregistered. [@constant] kCTFontManagerScopeSession The font is available to the current user session, and will not be available in subsequent sessions. Session scope is only available in macOS.
| Modifier and Type | Field and Description |
|---|---|
static int |
None |
static int |
Persistent |
static int |
Process |
static int |
User |
public static final int None
public static final int Process
public static final int User
public static final int Persistent