(1) CATextLayer in iOS 6 requires an opaque background in order to antialias 
text. CATextLayer in iOS 5 did not have this limitation; it could antialias its 
text perfectly well even if its background was transparent. Why the change? I'm 
guessing that it's an efficiency boost.

(2) CATextLayer in iOS 6 is drawing the text to a different baseline (lower). 
To put it another way, there is now more space between the top of the text and 
the top of the layer. This means that I must make my CATextLayers taller in 
order to encompass the whole text height. Why the change? I'm guess that it has 
to do with changes in the overall text drawing system needed to accommodate 
styled text throughout.

Thx - m.

--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to