• 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: Subclassing NSLayoutManager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing NSLayoutManager


  • Subject: Re: Subclassing NSLayoutManager
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 24 Feb 2003 14:01:51 -0800

On Monday, February 24, 2003, at 1:46 PM, Charles Srstka wrote:

I was actually hoping that by subclassing NSLayoutManager or NSGlyphInfo or whatever that I could get around having to use an NSTypesetter subclass and just use the default one instead as it seems to be a lot more optimized than the quick typesetter I was able to hack together.

Well, the glyph munging doesn't actually have to be done from the typesetter; you could do it yourself at some point after glyph generation. The trick is to be able to do it at the right time. You could try using an NSTypesetter class that grabs and holds onto the layout manager's existing default typesetter and passes all messages on to it, but intervenes before the calls to layoutGlyphs... to do the glyph munging first.

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Subclassing NSLayoutManager
      • From: Charles Srstka <email@hidden>
References: 
 >Re: Subclassing NSLayoutManager (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: Subclassing NSLayoutManager
  • Next by Date: Status of Webkit.framework?
  • Previous by thread: Re: Subclassing NSLayoutManager
  • Next by thread: Re: Subclassing NSLayoutManager
  • Index(es):
    • Date
    • Thread