I'm underlining some text using NSMutableString's NSUnderlineStyleAttributeName 
attribute (on 10.7). However, the results aren't quite right.

There seem to be 2 separate issues:

- The underline seems to stop 1 or 2 pixels short of the end of the underlined 
text.
- If the text has a NSShadowAttributeName set, the shadow drops _on_ the 
underline. This makes it seem as if the underline and the text are not in the 
same plane. [I'm assuming the 'under' in underline refers to the y-axis only 
and not to the z-axis…]

Are these known limitations / bugs or is there a better way to draw underlines?

Thanks,
patrick
--
Patrick Machielse
Hieper Software

http://www.hieper.nl
[email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to