I am using FontLabel to display varying lengths of texts in a custom font. I size the FontLabel using the following :
CGSize size = [myString sizeWithFont:[UIFont systemFontOfSize:[[[UIApplication sharedApplication] delegate] getFontSize]]
constrainedToSize:CGSizeMake(290, 4000)
lineBreakMode:UILineBreakModeWordWrap];
For some reason, this always presents a Fontlabel where the text starts at a different space from the top. Sometimes the text begins at the correct location. Other times, it appears either too high or too low.
Would appreciate some help in how to solve this issue.