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?
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?
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