• 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: Modifying glyph storage in NSLayoutManager SOLVED
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifying glyph storage in NSLayoutManager SOLVED


  • Subject: Re: Modifying glyph storage in NSLayoutManager SOLVED
  • From: Ross Carter <email@hidden>
  • Date: Tue, 18 Mar 2008 19:40:03 -0400

I found that I can call the NSLayoutManager methods for modifying glyph storage (replaceGlyphAtIndex:withGlyph:, insertGlyph:atGlyphIndex:characterIndex:, etc.) without errors if I place the code in an override of NSATSTypesetter - beginLineWithGlyphAtIndex: and inform the typesetter of any change in glyph count by calling setParagraphGlyphRange:separatorGlyphRange:.

Ross
_______________________________________________

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: Modifying glyph storage in NSLayoutManager SOLVED
      • From: Douglas Davidson <email@hidden>
References: 
 >Modifying glyph storage in NSLayoutManager (From: Ross Carter <email@hidden>)
 >Re: Modifying glyph storage in NSLayoutManager (From: Martin Wierschin <email@hidden>)
 >Re: Modifying glyph storage in NSLayoutManager (From: Ross Carter <email@hidden>)

  • Prev by Date: Re: Equivalent to Carbon's TransitionWindow(); using genie when opening an NSWindow
  • Next by Date: Re: Cocoa-dev Digest, Vol 5, Issue 432
  • Previous by thread: Re: Modifying glyph storage in NSLayoutManager
  • Next by thread: Re: Modifying glyph storage in NSLayoutManager SOLVED
  • Index(es):
    • Date
    • Thread