• 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: Sub-pixel font smoothing with CGBitmapContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sub-pixel font smoothing with CGBitmapContext


  • Subject: Re: Sub-pixel font smoothing with CGBitmapContext
  • From: Timothy Wood <email@hidden>
  • Date: Thu, 29 Jan 2009 10:42:44 -0800


On Jan 28, 2009, at 5:15 PM, Slava Pestov wrote:

Hi all,

When I render text into a CGBitmapContext that has been filled with a
solid color, sub-pixel font smoothing is not applied and text looks
suboptimal compared to text rendered elsewhere. How can I enable font
smoothing? Calling CGContextSetShouldSmoothFonts doesn't seem to help.

Are you talking about the red/blue edge antialiasing (based on pixels having RGB pixels not collocated on the device)?


I've also tried to get this working (so I can build an CGImageRef with embedded text for pixel-accurate blitting to the device via a CALayer). Sadly, I've not been able to figure out a way to tell the CGBitmapContext that I intend it to act like it is a particular device. If you find a way, I'd love to try it too =)

-tim

_______________________________________________

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: 
 >Sub-pixel font smoothing with CGBitmapContext (From: Slava Pestov <email@hidden>)

  • Prev by Date: Re: NSTask Leaking...
  • Next by Date: Re: Sub-pixel font smoothing with CGBitmapContext
  • Previous by thread: Sub-pixel font smoothing with CGBitmapContext
  • Next by thread: Re: Sub-pixel font smoothing with CGBitmapContext
  • Index(es):
    • Date
    • Thread