On Aug 12, 2011, at 4:56 AM, patrick machielse wrote:

> - The underline seems to stop 1 or 2 pixels short of the end of the 
> underlined text.

The underline is most likely being drawn to the end of the last character’s 
advance, which isn’t necessarily the same as the optical right margin of the 
glyph. Some typefaces have characters that stick out quite a ways past their 
advance, especially italics and swashy scripts.

If you want to be sure, try putting the same text someplace editable, then 
clicking at the end of the text to get an insertion point. Its X position will 
be at the advance of the last character.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to