Re: dynamic glyph/character advancement
Re: dynamic glyph/character advancement
- Subject: Re: dynamic glyph/character advancement
- From: Douglas Davidson <email@hidden>
- Date: Tue, 14 Mar 2006 12:54:52 -0800
On Mar 14, 2006, at 8:06 AM, Dominik Wagner wrote:
But what to do if I want do make room to display an invisible
character/glyph? Is there any way to dynamically add an advancement
to an otherwise unadvancing invisible? e.g. ASCII 11? This has to
be dynamically show invisibles can be turned on and off.
One possible solution would be a custom glyph generator to substitute
a visible glyph for NSControlGlyph. Another would be a custom
typesetter implementing actionForControlCharacterAtIndex: and
boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:
glyphPosition:characterIndex:.
Douglas Davidson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden