Re: iOS: antialiasing text
Re: iOS: antialiasing text
- Subject: Re: iOS: antialiasing text
- From: Graham Cox <email@hidden>
- Date: Fri, 10 Jun 2011 12:10:15 +1000
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 (email@hidden)
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:
This email sent to email@hidden