Re: NSAttributedString rendering bugs when rendered with Cocoa Text (rdar://6379047)
Re: NSAttributedString rendering bugs when rendered with Cocoa Text (rdar://6379047)
- Subject: Re: NSAttributedString rendering bugs when rendered with Cocoa Text (rdar://6379047)
- From: Douglas Davidson <email@hidden>
- Date: Mon, 17 Nov 2008 16:00:13 -0800
On Nov 17, 2008, at 3:50 PM, Rua Haszard Morris wrote:
I have found that NSSuperscriptAttributeName,
NSUnderlineStyleAttributeName, and NSObliquenessAttributeName (those
are the attributes that I have tested) render differently when Cocoa
Text is used to draw the string. The attributes appear to be
intrepreted inverted, in that 1 for superscript produces subscript,
positive obliqueness is a leftward tilt, etc. In normal controls the
attributes render as expected.
Make sure that you are drawing in a flipped context.
Douglas Davidson
_______________________________________________
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