• 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
Re: Is this a bug in NSTextField?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this a bug in NSTextField?


  • Subject: Re: Is this a bug in NSTextField?
  • From: Douglas Davidson <email@hidden>
  • Date: Wed, 9 Jan 2008 14:40:53 -0800


On Jan 9, 2008, at 2:04 PM, Chen Wang wrote:

I recently created a NSAttributedString with NSObliquenessAttributeName
applied to the *entire* string, and NSStrokeWidthAttributeName applied
to *part* of the string. When I passed this string to [NSTextField
setAttributedStringValue:], I supposed that all characters shown in the
NSTextField should have identical obliqueness angle, but what I actually
saw was that the obliqueness angle kept increasing across the entire
text field from left to right. The reason for thinking this as a bug is
that if I add a '\n' at the end of the string, everything becomes OK --
the entire text shows consistent obliqueness angle. So, before firing a
bug, it's better to be confirmed here.

Sounds like a bug from the description. Please file a Radar, preferably with a small test application attached.


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


References: 
 >Is this a bug in NSTextField? (From: "Chen Wang" <email@hidden>)

  • Prev by Date: Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?
  • Next by Date: Daemon application with System Preferences Pane
  • Previous by thread: Is this a bug in NSTextField?
  • Next by thread: RE: Is this a bug in NSTextField?
  • Index(es):
    • Date
    • Thread