Re: Properly wrapping non-contiguous NSTextViews
Re: Properly wrapping non-contiguous NSTextViews
- Subject: Re: Properly wrapping non-contiguous NSTextViews
- From: Ross Carter <email@hidden>
- Date: Tue, 16 Aug 2011 11:09:57 -0400
On Aug 15, 2011, at 6:19 PM, Nick Zitzmann wrote:
> Of course, if there is a better way of using the Cocoa text system to layout multiple non-contiguous pages of text with margins, I'd like to hear about it. Maybe it'll even solve the problem I'm having.
Well, it should just work without any fiddling of container or text view geometry. The Cocoa text system knows how much text will fit in a text container and does a very good job of wrapping to the next container. It does not cut off lines of text (most of the time; some extreme fonts such as Zapfino might get clipped ascenders and descenders).
Sometimes Quartz Debug can show you areas where text is getting drawn and immediately overdrawn with background color.
_______________________________________________
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