RE: Is this a bug in NSTextField?
RE: Is this a bug in NSTextField?
- Subject: RE: Is this a bug in NSTextField?
- From: "Chen Wang" <email@hidden>
- Date: Wed, 9 Jan 2008 17:57:19 -0500
- Thread-topic: Is this a bug in NSTextField?
Further tests shown that the problem seems to be Tiger specific, on both
powerPC and Intel. Tests with Leopard and Panther are just fine without
seeing the problem.
Chen
> Dear List,
> 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.
Confidentiality Notice: E-mail may be intercepted between the sender and the receiver and is therefore neither secure nor confidential. Your continued use of e-mail communication confirms that you accept this risk. If this is an urgent matter, please contact me at the phone number provided. This e-mail, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient or this information has been inappropriately forwarded to you, please contact the sender by reply e-mail and destroy all copies of the original
_______________________________________________
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