On Jan 6, 2011, at 2:51 PM, James Bucanek wrote: > David Duncan <mailto:david.dun...@apple.com> wrote (Thursday, January 6, 2011 > 11:53 AM -0800): > >> On Jan 6, 2011, at 10:28 AM, James Bucanek wrote: >> >>> So how can I get my text to draw as smoothly as the Finder? >> >> Subpixel antialiasing requires a background to antialias against, and your >> layer is probably transparent. If you supply a background (by drawing one >> into >> the context first) then you should get subpixel antialiasing, assuming it is >> otherwise enabled. > > Ah, that's it. Yes, my background is transparent and needs to be transparent > (it gets composited over other images), so I guess that's the end of that > quest. :(
You might be able to get something more acceptable by turning on shadowing in the context before you draw the text. This appears to be what the Finder does (if you look closely at the labels on the desktop they don't use sub-pixel antialiasing either, but have a subtle shadow effect). -- David Duncan _______________________________________________ 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