On further investigation, it seems as if the problem is not in the rendering of 
the text into the offscreen bitmap context, but the later scaling down of that 
image in a CALayer.

On the Mac, when I set the layer's minificationFilter property to trilinear, 
that produces nice results, but on iOS, this filter *seems* not to be 
implemented, which may make sense. Is there a supported way to get smooth 
downsampling on iOS? If not I may be able to create the image such that no 
downsampling is needed, but that will be a lot more complicated than letting 
the layer handle it, so if possible, I want to avoid that.

--Graham






On 10/06/2011, at 10:30 AM, Graham Cox wrote:

> 
> On 10/06/2011, at 3:24 AM, David Duncan wrote:
> 
>> I imagine what you are expecting is LCD antialiasing, which I am fairly 
>> certain is not done on iOS. You should still get standard antialiasing 
>> however.
> 
> No, I appreciate I'm not going to get that. But rendering the text offscreen 
> with the code I posted produces a very jaggy result with no antialiasing at 
> all (as far as I can tell). Even the drop shadow portion has a sharp jaggy 
> edge.
> 
> --Graham

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to