Re: Invisible Characters & Specifying Their "Width"
Re: Invisible Characters & Specifying Their "Width"
- Subject: Re: Invisible Characters & Specifying Their "Width"
- From: "Martin" <email@hidden>
- Date: Fri, 03 Nov 2006 12:50:30 -0800
> I don't see any layout change, but the methods are being called appropriately.
I'd never used the bounding box override and you're right, the returned rect is completely ignored. I've filed this as radar://4819052. Maybe you should file it as well.
> I guess I'll have to try the glyph generator...?
Nah, that won't help. Since the methods are being called as needed for your characters it already considers them control chars.
You could return NSTypesetterHorizontalTabAction for your control glyphs and then concoct an override for "textTabForGlyphLocation:etc:" to do the right thing, but that idea sounds pretty horrible to me.
~Martin
_______________________________________________
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