Re: Non-Sub-Pixel Rendering Font Rendering Differences when using Core Animation

2011-04-27 Thread Kyle Sluder
On Tue, Apr 26, 2011 at 9:45 PM, Simone Manganelli s...@mac.com wrote: I'm aware of the fact that Core Animation disables sub-pixel rendering for text when drawing to transparent backgrounds, so I've intentionally designed my CALayers so that they have opaque backgrounds.  Sub-pixel rendering

Non-Sub-Pixel Rendering Font Rendering Differences when using Core Animation

2011-04-26 Thread Simone Manganelli
I'm adding some Core Animation to my existing project, and I'm encountering some differences in the font rendering compared to non-Core Animation code. Here's the code used to draw my strings: NSShadow *selectedShadow = [[NSShadow alloc] init]; [selectedShadow

Re: Non-Sub-Pixel Rendering Font Rendering Differences when using Core Animation

2011-04-26 Thread Evadne Wu
This is a wild guess but it worked for me with Core Text on the iPad a long time ago. One or several of these can probably work for you. • CGContextSetAllowsAntialiasing • CGContextSetAllowsFontSmoothing • CGContextSetShouldSmoothFonts •