views:

38

answers:

1

You can get it with CTFontGetLeading(aCTFont), but how do you SET it?

Can anyone please explain?

Is there another way around this? Do you have to set the space between the lines manually, perhaps?

A: 

I got the solution here: http://www.iphonedevsdk.com/forum/iphone-sdk-development/59101-how-set-leading-coretext.html

Basically, just set the attribute kCTParagraphStyleSpecifierMinimumLineHeight. You can find it in CTParagraphStyle.h

OMH