Is there a way to compute what the default leading would be for a
font? This is for a Mac OS backend of a cross-platform GUI toolkit, so
I can't really just use NSTextView here.

Slava

On Fri, Feb 13, 2009 at 9:16 PM, Graham Cox <[email protected]> wrote:
> Line spacing (or to be more precise, leading) is an attribute of the
> paragraph style. This is added to the lineheight of the font as you have
> calculated.
>
> --Graham
>
>
>
_______________________________________________

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