Class CPFontManager

CPObject
    extended byCPFontManager

@implementation CPFontManager : CPObject

Method Summary
+(void)setFontManagerFactory:(Class)aClass
          Sets the class that will be used to create the applcation's font manager.
+(CPFontManager)sharedFontManager
          Returns the application's font manager.
-(CPArray)availableFonts
          Returns an array of the available fonts.
-(CPArray)fontWithNameIsAvailable:(CPString)aFontName
          Returns the available fonts matching the provided name.

Methods inherited from class CPObject
initialize, alloc, class, instanceMethodForSelector, instancesRespondToSelector, isSubclassOfClass, load, new, setVersion, superclass, version, init, autorelease, awakeAfterUsingCoder, class, classForCoder, classForKeyedArchiver, className, copy, dealloc, description, doesNotRecognizeSelector, forwardInvocation, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableCopy, performSelector, performSelector, performSelector, release, replacementObjectForArchiver, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, retain, self, superclass


Method Detail

setFontManagerFactory

+(void)setFontManagerFactory:(Class)aClass
Sets the class that will be used to create the applcation's font manager.
Parameters:
aClass

sharedFontManager

+(CPFontManager)sharedFontManager
Returns the application's font manager. If the font manager does not exist yet, it will be created.

availableFonts

-(CPArray)availableFonts
Returns an array of the available fonts

fontWithNameIsAvailable

-(CPArray)fontWithNameIsAvailable:(CPString)aFontName
Returns the available fonts matching the provided name.
Parameters:
aFontName - the name of the font

Created on Sat Sep 13 14:15:43 PDT 2008