setTailIndent problems

2010-01-11 Thread Fabry, Geza
Hi, I try to set tailIndent for an NSMutableParagraphStyle attribute of an NSMutableAttributedString. The documentation says: If positive, this is the distance from the leading margin (for example, the left margin in left-to-right text). That is, it's the absolute line width. If 0 or

soft line breaks in NSLayoutManager

2009-04-28 Thread Fabry, Geza
Hi, I have a formatted text in an NSTextStorage which I would like to draw. I also have an array of character locations where to break the text into lines. Is there a way to add soft line breaks to the layout without modifying the unicode string (inserting line break characters)? In the ATSU-world

How to draw text with expanded inter-character spacing

2009-03-23 Thread Fabry, Geza
I would like to draw some text into my custom view wider than usual but not by stretching the glyphs using a transformation but by increasing the spacing between the glyphs (like in Font Character Spacing Spacing Expanded/Condensed in MS Word). Is there an attribute for an NSAttributedString