Re: Is this a bug in NSTextField?
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