• 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: Non-Sub-Pixel Rendering Font Rendering Differences when using Core Animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-Sub-Pixel Rendering Font Rendering Differences when using Core Animation


  • Subject: Re: Non-Sub-Pixel Rendering Font Rendering Differences when using Core Animation
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 27 Apr 2011 10:11:16 -0700

On Tue, Apr 26, 2011 at 9:45 PM, Simone Manganelli <email@hidden> wrote:
> I'm aware of the fact that Core Animation disables sub-pixel rendering for text when drawing to transparent backgrounds, so I've intentionally designed my CALayers so that they have opaque backgrounds.  Sub-pixel rendering is definitely active now that I've drawn an opaque color to the layer.  This doesn't seem to be the issue, especially because the Core Animation text appears *heavier* than the normal Quartz text, whereas it usually appears more wispy when sub-pixel rendering is off.

Subpixel AA will not be enabled unless you create your own
CGBitmapContext with
kCGImageAlphaPremultipliedFirst|kCGBitmapByteOrder32Host, draw your
layer contents into that, and set the resultant CGImage as the content
of your layer. http://lists.apple.com/archives/Cocoa-dev/2011/Jan/msg00149.html

--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

References: 
 >Non-Sub-Pixel Rendering Font Rendering Differences when using Core Animation (From: Simone Manganelli <email@hidden>)

  • Prev by Date: Re: BSD TCP Programming on iPad
  • Next by Date: Re: BSD TCP Programming on iPad
  • Previous by thread: Re: Non-Sub-Pixel Rendering Font Rendering Differences when using Core Animation
  • Next by thread: Barcode scanner
  • Index(es):
    • Date
    • Thread