Dear Rob,

Thanks a lot for your valuable inputs, I have fixed the issue of distorted fonts/text in all NSTextFields which are not selectable and not editable(text for user info / display pupose only)and labels by changing the default background color of all NSTextFields to the same color(Mercury) of the page background with 100% opacity.

Now, one of the NSTextField which is provided in my application for user to edit and select with White background is present. The above fix is not working , In this NSTextField having background color "White / Snow" with Opacity 100%.

So please let me know some inputs So that I can make the font edges sharp and clear in case of a Editable White background NSTextFields.

Regards
pappan

Message: 8
Date: Fri, 20 Nov 2009 15:41:10 +1000
From: Rob Keniger <r...@menumachine.com>
Subject: Re: How to avoid text distortion
To: Cocoa-Dev List <cocoa-dev@lists.apple.com>

On 20/11/2009, at 3:23 PM, padmakumar wrote:
 One more point is that I am using Xcode 3.2  in Snow Leopard (Version
 10.6.2) and  in System  Preference -> Appearence ->
"Use LCD font smoothing when available" option is disabled , again font and text are displayed perfectly ie with out any distortion. If I enable this option which is enabled by default this problem occurs. But this problem
happens only with  the application I have developed.

I suspect you are using a layer-backed view. NSTextFields with no background color will display without sub-pixel anti-aliasing on layer-backed views. If you want the text to have sub-pixel anti-aliasing, give the text field a background color.
--
Rob Keniger




_______________________________________________

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