When drawing a NSAttributedString with -drawInRect, if you specify a background color, it will not draw properly if its y is greater than 0

Originator:brady.archambo
Number:rdar://15189655 Date Originated:10/9/2013
Status:Open Resolved:
Product: Product Version:
Classification: Reproducible:
 
When drawing a NSAttributedString with -drawInRect, if you specify a background color, it will not draw properly if its y is greater than 0

Example project: https://github.com/bradya/NSBackgroundColorAttributeName-Bug

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!