• 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
NSAttributedString rendering bugs when rendered with Cocoa Text (rdar://6379047)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSAttributedString rendering bugs when rendered with Cocoa Text (rdar://6379047)


  • Subject: NSAttributedString rendering bugs when rendered with Cocoa Text (rdar://6379047)
  • From: Rua Haszard Morris <email@hidden>
  • Date: Tue, 18 Nov 2008 12:50:41 +1300

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.

Has anyone else seen this problem? I've implemented some workarounds, tweaking the attribute values depending on whether the string is drawn via standard controls or within custom views, but I'd like to clear up whether I'm doing something wrong, or it's expected behaviour, or if it is a bug in Cocoa Text.

I've reported the bug, with a small project demonstrating the problem: rdar://6379047

thanks
Rua HM.


_______________________________________________

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


  • Follow-Ups:
    • Re: NSAttributedString rendering bugs when rendered with Cocoa Text (rdar://6379047)
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: OutlineView, bindings and array of NSDictionaries.
  • Next by Date: Re: Question about interface builder
  • Previous by thread: Re: OutlineView, bindings and array of NSDictionaries.
  • Next by thread: Re: NSAttributedString rendering bugs when rendered with Cocoa Text (rdar://6379047)
  • Index(es):
    • Date
    • Thread