hyphenation
hyphenation
- Subject: hyphenation
- From: Eric Blanpied <email@hidden>
- Date: Thu, 27 Jul 2006 10:38:31 -0400
I'm guessing that hyphenation requires a Layout Manager to be present.
I'm using [NSAttributedString drawInRect:] to draw text into bitmaps,
rather than text views, and when I try to use an NSParagraphStyle
object which has been prepared using setHyphenationFactor: the
drawing method results in an exception. ObjectAtIndex out of range or
something like that.
Looking over the docs, almost all conversation about hyphenation is
in context of NSLayoutManager, and the API ref for
setHyphenationFactor: says that the factor set on the
NSMutbaleParagraphStyle works in relation to the factor set on the
NSLayoutManager. This all makes me suspect that one can't use
hyphenation without a Layout Manager.
Does anyone have any info on this?
Thanks
-eric
_______________________________________________
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