On 20/08/2013, at 6:08 AM, Peter C <peterchan...@gmail.com> wrote:

> A user complain my App paragraph text lines space is too much, this is 
> because it is done by using NSString drawInRect:withAttributes:, not much of 
> any adjustment.

That's not the case. The -attributes: parameter is a dictionary of any 
attributes, including NSParagraphStyle, and that can have whatever line spacing 
you want. You can drop down to Core Text, but it's not necessary just to allow 
adjustment of line spacing.

--Graham


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to