FROM : Douglas Davidson
DATE : Wed Jan 09 23:40:53 2008
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
DATE : Wed Jan 09 23:40:53 2008
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
| Related mails | Author | Date |
|---|---|---|
| Chen Wang | Jan 9, 23:04 | |
| Douglas Davidson | Jan 9, 23:40 | |
| Chen Wang | Jan 9, 23:57 |






Cocoa mail archive

