• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Line spacing in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Line spacing in NSTextView
      • From: Aki Inoue <email@hidden>
References: 
 >Line spacing in NSTextView (From: Slava Pestov <email@hidden>)
 >Re: Line spacing in NSTextView (From: Graham Cox <email@hidden>)
 >Re: Line spacing in NSTextView (From: Slava Pestov <email@hidden>)
 >Re: Line spacing in NSTextView (From: Aki Inoue <email@hidden>)

  • Prev by Date: Re: alloc/release confusion
  • Next by Date: Re: Line spacing in NSTextView
  • Previous by thread: Re: Line spacing in NSTextView
  • Next by thread: Re: Line spacing in NSTextView
  • Index(es):
    • Date
    • Thread