Re: Newlines + quartz text?
Re: Newlines + quartz text?
- Subject: Re: Newlines + quartz text?
- From: "John C. Randolph" <email@hidden>
- Date: Sun, 5 Aug 2007 12:19:24 -0700
On Aug 4, 2007, at 9:10 PM, Marcel Weiher wrote:
On Aug 4, 2007, at 7:05 PM, Maryanna Rogers wrote:
I've tried all sorts of different encodings, ASCII, unicode, UTF8,
and
none work Little rectangles are displayed where the breaks should be.
Quartz does not break lines. You need to either do that yourself or
use an API that does layout, such as the Cocoa text system.
I would typically just use an NSCell to draw multi-line text. Is
there some reason in particular for going for such a low-level API?
-jcr
_______________________________________________
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