CTFontRef ctFont = ...; NSString *fontName = [(NSString *)CTFontCopyName(ctFont, kCTFontPostScriptNameKey) autorelease]; CGFloat fontSize = CTFontGetSize(ctFont); UIFont *font = [UIFont fontWithName:fontName size:fontSize];
Color and underline are not font attributes. Bold and italics are part of the font name.
source share