setWantsLayer: YES causing font render problem?
setWantsLayer: YES causing font render problem?
- Subject: setWantsLayer: YES causing font render problem?
- From: Adhamh Findlay <email@hidden>
- Date: Wed, 20 Feb 2008 09:00:08 -0600
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
Normal size
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