On Jan 28, 2009, at 5:15 PM, Slava Pestov wrote:
Hi all, When I render text into a CGBitmapContext that has been filled with a solid color, sub-pixel font smoothing is not applied and text looks suboptimal compared to text rendered elsewhere. How can I enable font smoothing? Calling CGContextSetShouldSmoothFonts doesn't seem to help.
Are you talking about the red/blue edge antialiasing (based on pixels having RGB pixels not collocated on the device)?
I've also tried to get this working (so I can build an CGImageRef with embedded text for pixel-accurate blitting to the device via a CALayer). Sadly, I've not been able to figure out a way to tell the CGBitmapContext that I intend it to act like it is a particular device. If you find a way, I'd love to try it too =)
-tim _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
