I want to have a greater control on how and when fonts are loaded and released, therefore I'm interested in getting CGFontCreateWithFontName() to work.
GContextRef ctx = UIGraphicsGetCurrentContext();
CGContextSelectFont(ctx, "Georgia", 20.0, kCGEncodingMacRoman);
// DRAWING WITH CGContextShowTextAtPoint() IS WORKING...
GContextRef ctx = UIGraphicsGetCurrentContext();
CGFontRef fontRef = CGFontCreateWithFontName((CFStringRef)@"Georgia");
CGContextSetFont(ctx, fontRef);
CGContextSetFontSize(ctx, 20.0);
// DRAWING WITH CGContextShowTextAtPoint() IS NOT WORKING...
Any clue on what's wrong with the 2nd block?