Core Text CTFrameSetter error with size suggestion
Posted
by JK
on Stack Overflow
See other posts from Stack Overflow
or by JK
Published on 2010-03-17T09:49:12Z
Indexed on
2010/03/17
9:51 UTC
Read the original article
Hit count: 270
cocoa
|objective-c
I am trying to use the CTFramesetterSuggestFrameSizeWithConstraints method of CTFrameSetter to calculate the rect for a given attributed string. However, both the width and height are slightly less than needed. I would appreciate any suggestions on what may be causing this or how to correct it please.
© Stack Overflow or respective owner