core-text
CoreText rendering text glitch
I am working on a new app.I render different documents from an NSAttributedString using Core Text.I am having trouble with strange glitches in the rendering of the text.It doesn\'t happen with every d[详细]
2023-03-09 17:24 分类:问答CTFramesetterCreateFrame returns nil
I\'m trying to create a UIView that will act as a circular TextView. I\'m able to do this fine on iOS 4.2+, but on 4.0 & 4.1, the call below to CTFramesetterCreateFrame is returning nil. Any thoug[详细]
2023-03-07 06:49 分类:问答Core Text Performance
I am seeing some performance issues with Core Text when it is run on the original iPad. I have created an editable view using Core Text and the UITextInput protocol which is based 开发者_StackOverflo[详细]
2023-03-06 21:59 分类:问答Core Data / NSTextView breaks only after save
We have an NSTextView and some data saved about its contents in a core data Managed object context.Everything works great while the managed object context st开发者_如何学Goays in memory.However when w[详细]
2023-03-03 15:10 分类:问答NSAttributedString and Links on iOS
I am trying to add a hyperlink to certain parts of my text which is being handled and drawn using CoreText.[详细]
2023-02-28 16:29 分类:问答How do you change the letter-spacing/tracking in core text?
This could probably also be asked as \"Is kCTKern开发者_Go百科AttributeName a misnomer?\" I need to change the letter spacing/tracking of some text in iOS. (The font I\'m using is a little too tight[详细]
2023-02-28 04:22 分类:问答Using iOS CoreText APIs that don't use a CGContextRef in a non-main Thread
The iOS APIs don\'t mention threading restrictions on CoreText APIs.To what extent are they safe to use on non-main threads when calling functions that don\'t use a CGContextRe开发者_StackOverflow中文[详细]
2023-02-25 04:20 分类:问答iOS CoreText CTLineGetStringRange with CTLineRef from CTLineCreateTruncatedLine
I have the following code in iOS: CFAttributedStringRef attributedString = ... CTLineRef line = CTLineCreateWithAttributedString(attributedString);[详细]
2023-02-25 04:17 分类:问答NSAttributedString kCTParagraphStyleSpecifierParagraphSpacing has no effect
When applying the kCTParagraphStyleSpecifierParagraphSpacing style, it has no visual effect to the rendered text.The other attributes, such as line spacing and text alignment work perfectly.What could[详细]
2023-02-25 02:53 分类:问答CoreText crashes when run in multiple threads
I have a very weird problem with core text, which sometimes randomly and sometimes reproducibly crashes my application. I use it to lay out and render a couple of pages. I do this asynchronously in th[详细]
2023-02-24 11:13 分类:问答