Hi all, Can someone enlighten me, how does NSTextView compute line spacing?
When I display a piece of text in stickies, with Helvetica 12 (or any other font, really), and the same piece of text in my application, stickies adds another 2 pixels of spacing between every line, and the result looks more legible. Otherwise the font rendering is identical. I'm using Core Text to render each line individually, and I presume Stickies is using an NSTextView. I'm computing line height by adding the ascent, descent and leading, but for Helvetica 12 at least the leading is zero. Slava _______________________________________________ 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