Re: setWantsLayer: YES causing font render problem?
Re: setWantsLayer: YES causing font render problem?
- Subject: Re: setWantsLayer: YES causing font render problem?
- From: Chris Ryland <email@hidden>
- Date: Wed, 20 Feb 2008 10:21:38 -0500
Adhamh--
<http://earthlingsoft.net/ssp/blog/2007/11/subpixel_antialiasing_followup
> is a very thorough investigation of this topic.
Bottom line is that CA text rendering doesn't do the fancy sub-pixel
font antialiasing.
On Feb 20, 2008, at 10:00 AM, Adhamh Findlay wrote:
Hello,
I've started to use Core Animation for window/sheet resizing. I
noticed that when I enabled setWantsLayer: YES in my awakeFromNib
method that the font in my labels become pixelated. If I don't call
setWantsLayer: the animations appear to still work correctly and the
font goes back to normal.
While investigating this I found that the BasicCocoaAnimations
sample project has the same problem because it calls setWantsLayer:
YES in the main window controller's awakeFromNib method. (Which
leads me to believe that I should call this method too.)
http://developer.apple.com/samplecode/BasicCocoaAnimations/index.html
Screen shots from BasicCococaAnimations.app
Zoomed in
<pastedGraphic.png>
Normal size
<pastedGraphic.png>
I've found CAEdgeAntialiasingMask, but that doesn't seem seem to be
related to font antialiasing.
Is this an antialiasing issue? Is there a way to correct it?
I'm running 10.5.2.
Thanks,
Adhamh
_______________________________________________
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
Cheers!
--Chris Ryland / Em Software, Inc. / www.emsoftware.com
_______________________________________________
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