core-text
Core Text paragraph inside a UIScrollView is blurry
I tried drawing a long paragraph as an NSAttributedString in a view inside a UIScrollView. Weird thing is, the top of the paragraph is not blurry, but the more I scroll to the bottom the blurrier it g[详细]
2023-04-12 23:28 分类:问答Multi-line NSAttributedString with truncated text
I need a UILabel subcass with multiline attributed text with support for links, bold styles, etc.I also need tail truncation with an ellipsis.None of the open source code that supports attributed text[详细]
2023-04-09 08:27 分类:问答CTFramesetterSuggestFrameSizeWithConstraints: what attributes can be set?
The documentation for CTFramesetterSuggestFrameSizeWithConstraints describes the frameAttributes parameter as so:[详细]
2023-04-08 14:06 分类:问答FontName from CTFontRef
I\'ve a CTFontRef variable. CTFontRef aFontRef; Getting Size of Font was easy : CGFloat aFontSize = CTFontGetSize(aFontRef);[详细]
2023-04-05 12:34 分类:问答Best way to create a view for notes
I\'m writing an iPhone/iPad application that will allow a user to fill in blanks for notes.The notes will be different each week.I see downloading the notes in an XML format from our webserver.What I\[详细]
2023-04-05 06:03 分类:问答How can I use CoreText to bold text?
I am modifying a class that I found. It is underlining hyperlinks. I would like it to bold the hyperlink as well. I am not sure how to do this with CoreText.[详细]
2023-04-01 22:49 分类:问答CoreText flip coordinates self.bounds.size.height error bounds
I am drawing text in the view with CoreText. To learn this I used a tutorial, but suddenly it uses self.bounds.size.height, in a part wher开发者_运维百科e it flips the coordinate system. When I was du[详细]
2023-03-31 03:10 分类:问答NSSuperscriptAttributeName show error?
I am trying to create a subscripted text in iphone using NSMutableAttributedString. But the \"NSSup开发者_开发百科erscriptAttributeName\" show some error \" undeclared identifier \".How can i solve it[详细]
2023-03-29 20:28 分类:问答UIView drawRect leak with CoreText
I have a leak that I can\'t track down.I am new to CoreText (and C in general) so please be gentle!The static analyser doesn\'t show any problems but Instruments does in this method:[详细]
2023-03-28 17:03 分类:问答Core Text Performance Problem
I have been following a iOS tutorial on raywenderlich.com, called \"How To Create a Simple Magazine App with Core Text\" LINK[详细]
2023-03-25 15:53 分类:问答