• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get "colored" font smoothing in a CALayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get "colored" font smoothing in a CALayer


  • Subject: Re: How to get "colored" font smoothing in a CALayer
  • From: James Bucanek <email@hidden>
  • Date: Fri, 7 Jan 2011 17:17:06 -0700

David Duncan <mailto:email@hidden> wrote (Thursday, January 6, 2011 3:58 PM -0800):

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,

I tried drawing with a shadow, and while it produces an interesting effect in my UI, it doesn't improve the smoothing of the text.

As an experiment I filled the context with white before drawing any text and that does the trick. The text looks identical to what appears in the Finder and elsewhere.

So at least now I know. Thanks for the great information.

--
James Bucanek

_______________________________________________

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


References: 
 >Re: How to get "colored" font smoothing in a CALayer (From: David Duncan <email@hidden>)

  • Prev by Date: Custom path animation for CAShapeLayer
  • Next by Date: [Moderator] Re: [Job Posting] Software Engineer in Columbia, MD, USA
  • Previous by thread: Re: How to get "colored" font smoothing in a CALayer
  • Next by thread: Re: How to get "colored" font smoothing in a CALayer
  • Index(es):
    • Date
    • Thread