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
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
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
•