PAGFont Class Reference

Inherits from NSObject
Declared in PAGFont.h

  fontFamily

A string with the name of the font family.

@property (nonatomic, copy) NSString *fontFamily

Declared In

PAGFont.h

  fontStyle

A string with the style information — e.g., “bold”, “italic”.

@property (nonatomic, copy) NSString *fontStyle

Declared In

PAGFont.h

+ RegisterFont:

+ (PAGFont *)RegisterFont:(NSString *)fontPath

+ RegisterFont:family:style:

+ (PAGFont *)RegisterFont:(NSString *)fontPath family:(NSString *)fontFamily style:(NSString *)fontStyle

+ RegisterFont:size:

+ (PAGFont *)RegisterFont:(void *)data size:(size_t)length

+ RegisterFont:size:family:style:

+ (PAGFont *)RegisterFont:(void *)data size:(size_t)length family:(NSString *)fontFamily style:(NSString *)fontStyle

+ UnregisterFont:

+ (void)UnregisterFont:(PAGFont *)font