Underlining text
Underlining text
- Subject: Underlining text
- From: patrick machielse <email@hidden>
- Date: Fri, 12 Aug 2011 13:56:41 +0200
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@hidden
_______________________________________________
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