Re: Modifying glyph storage in NSLayoutManager SOLVED
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