Re: Line spacing in NSTextView
Re: Line spacing in NSTextView
- Subject: Re: Line spacing in NSTextView
- From: Slava Pestov <email@hidden>
- Date: Sat, 14 Feb 2009 23:38:00 -0600
On Sat, Feb 14, 2009 at 9:58 PM, Aki Inoue <email@hidden> wrote:
> The Text System encapsulates the logic to determine the ideal layout. It's
> not just queried from a font instance. It requires the context of an entire
> line.
What if the line is rendered with a single font? Which font attributes
are involved, exactly? Suppose I have a font and I know the content of
the line as a sequence of code points. Surely there are some font
attributes that the Cocoa text system queries that I can also query
myself?
> NSATSTypesetter taps into the power of CoreText and still provides
> additional abstraction and functionalities (attachment, all the
> NSParagraphStyle attributes, etc).
Thanks, I'll take a look. Does NSATSTypesetter work on 64-bit systems?
The documentation mentions it uses ATSUI, and I thought this did not
exist in the 64-bit libraries.
Slava
_______________________________________________
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