On Jan 29, 2009, at 10:56 AM, David Duncan wrote:
Its been a while since I last looked at this, but I think the context's format needs to be native endian (add the kCGBitmapByteOrder32Host flag).
Heh; I totally would not have expected that from the name or docs. But, adding a case like this in my text rendering testing harness shows that it works. It renders into the CGBitmapContextRef such that when I get my CALayer's contents to the resulting CGImageRef, it has the proper device-specific antialiasing. I don't see this mentioned anywhere in the docs, but maybe I missed it.
Here is my test case <http://people.omnigroup.com/bungi/TextDrawing-20090129.zip >
Thanks! -tim _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
