On Nov 11, 2009, at 10:14 AM, PCWiz wrote:

> Thanks for your replies :-) Here you can see the distortion.
> 
> Before setWantsLayer - 
> http://img21.imageshack.us/img21/43/screenshot20091110at412.png
> 
> After - http://img682.imageshack.us/img682/2558/screenshot20091110at424.png


Your text doesn't render a background color, which means that it has to draw 
over transparency. When this occurs, font smoothing (subpixel antialiasing) is 
turned off, because it requires knowledge of the background color to do 
properly.

You can resolve this by having your text view draw a background for the text to 
render over. Exactly how you do it would depend on how your test is rendering.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

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