Skip navigation.
 
mlRE: Is this a bug in NSTextField?
FROM : Chen Wang
DATE : Wed Jan 09 23:57:19 2008

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

Related mailsAuthorDate
mlIs this a bug in NSTextField? Chen Wang Jan 9, 23:04
mlRe: Is this a bug in NSTextField? Douglas Davidson Jan 9, 23:40
mlRE: Is this a bug in NSTextField? Chen Wang Jan 9, 23:57