Re: Why does my font come out looking fuzzy?
Re: Why does my font come out looking fuzzy?
- Subject: Re: Why does my font come out looking fuzzy?
- From: Ben Haller <email@hidden>
- Date: Mon, 19 Oct 2009 18:36:21 -0400
Yes, it sounds like the suggestions I've gotten for modifying the
antialiasing behavior would probably be helpful. I have solved the
problem by simply snapshotting the LCD digit images and writing a
little control that displays a number using those snap images. Seemed
simpler, sadly. Works great. Thanks to the posters, though; CALayer
and related concepts are quite new to me, so it is good to develop
some mental context surrounding them!
Ben Haller
Stick Software
On 19-Oct-09, at 6:24 PM, Dalmazio Brisinda wrote:
Kyle's explanation #1 was spot on for my application. I had an
NSSearchField in a custom window and view which was not displaying
quite correctly. It looked as if it was not being anti-aliased.
Going into Interface Builder, I noticed I had selected the "Wants
core animation layer" switch for the control. Turning this off
corrected the problem.
Best,
Dalmazio
On 2009-10-17, at 9:27 PM, email@hidden wrote:
You need to post a screenshot of what you're seeing.
I can think of two possibilities off the top of my head:
1) You're rendering text into a CALayer (especially a CATextLayer).
Without some tweaking, CALayer can't do subpixel antialiasing (aka
LCD
antialiasing), because it doesn't have the existing backing store to
composite against.
2) You're overdrawing the text and are therefore ruining the
antialiasing, producing a distorted image.
Again, screenshot is pretty much mandatory here.
--Kyle Sluder
_______________________________________________
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
_______________________________________________
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