开发者

Core Animation Unwanted Text Sharpening

开发者 https://www.devze.com 2022-12-23 06:35 出处:网络
Whenever I add a layer for Core Animation either from the nib or programatically, the NSTextFields (labels) in my interface get messed up. Here\'s a screenshot from Apple\'s BasicCocoaAnimations examp

Whenever I add a layer for Core Animation either from the nib or programatically, the NSTextFields (labels) in my interface get messed up. Here's a screenshot from Apple's BasicCocoaAnimations example. (Look at the text fields on the left, somehow they're drawn sharper than normal)alt text http://img209.imageshack.us/img209/4162/picture5lz.png

Note that if I add a layer in IB then it a开发者_Python百科lso gets messed up in IB itself before I even run my app. This happens on my 10.5.8 PowerPC Mac.


See this thread: Text Not Anti-Aliased Inside NSView? for some discussion and possible resolution.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号