Package org.robovm.apple.coretext
Class CTFontManager
- java.lang.Object
-
- org.robovm.apple.foundation.CocoaUtility
-
- org.robovm.apple.coretext.CTFontManager
-
public class CTFontManager extends CocoaUtility
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CTFontManager.Notifications
-
Constructor Summary
Constructors Constructor Description CTFontManager()
-
Method Summary
-
-
-
Method Detail
-
registerFonts
public static boolean registerFonts(java.util.List<NSURL> fontURLs, CTFontManagerScope scope)
- Since:
- Available in iOS 4.1 and later.
-
registerFonts
public static boolean registerFonts(NSArray<NSURL> fontURLs, CTFontManagerScope scope)
- Since:
- Available in iOS 4.1 and later.
-
unregisterFonts
public static boolean unregisterFonts(java.util.List<NSURL> fontURLs, CTFontManagerScope scope)
- Since:
- Available in iOS 4.1 and later.
-
unregisterFonts
public static boolean unregisterFonts(NSArray<NSURL> fontURLs, CTFontManagerScope scope)
- Since:
- Available in iOS 4.1 and later.
-
RegisteredFontsChangedNotification
public static NSString RegisteredFontsChangedNotification()
- Since:
- Available in iOS 7.0 and later.
-
copyAvailablePostScriptNames
public static CFArray copyAvailablePostScriptNames()
- Since:
- Available in iOS 10.0 and later.
-
copyAvailableFontFamilyNames
public static CFArray copyAvailableFontFamilyNames()
- Since:
- Available in iOS 10.0 and later.
-
createFontDescriptors
public static java.util.List<CTFontDescriptor> createFontDescriptors(NSURL fileURL)
- Since:
- Available in iOS 7.0 and later.
-
createFontDescriptor
public static CTFontDescriptor createFontDescriptor(NSData data)
- Since:
- Available in iOS 7.0 and later.
-
registerFonts
public static boolean registerFonts(NSURL fontURL, CTFontManagerScope scope) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 4.1 and later.
-
unregisterFonts
public static boolean unregisterFonts(NSURL fontURL, CTFontManagerScope scope) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 4.1 and later.
-
registerGraphicsFont
public static boolean registerGraphicsFont(CGFont font) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 4.1 and later.
-
unregisterGraphicsFont
public static boolean unregisterGraphicsFont(CGFont font) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 4.1 and later.
-
registerFonts
protected static boolean registerFonts(NSArray<NSURL> fontURLs, CTFontManagerScope scope, NSArray.NSArrayPtr errors)
- Since:
- Available in iOS 4.1 and later.
-
unregisterFonts
protected static boolean unregisterFonts(NSArray<NSURL> fontURLs, CTFontManagerScope scope, NSArray.NSArrayPtr errors)
- Since:
- Available in iOS 4.1 and later.
-
-