core-text
CTFont and Core Text framework
I\'m 开发者_如何转开发trying to use CTFont in an iPhone app.I have :- Added the Core Text framework[详细]
2023-01-07 08:28 分类:问答How to use CTRunDelegate in iPad?
I am a developing an iPad application in which i have to use CTRunDelegate. I have defined all the the callbacks that are required viz CTRunDelegateGetAscentCallback , CTRunDelegateGetDescentCallback[详细]
2023-01-07 07:14 分类:问答How to make a CTRunRef object? (iPhone SDK 4)
There is several CTLineCreate* functions, but I can\'t find a function whi开发者_Python百科ch make CTRunRef.CTRun values are created by Core Text when needed (specifically, they\'re created by CTTypes[详细]
2023-01-06 15:02 分类:问答Core Text: counting pages in background thread
Let\'s say I\'m writing text viewer for the iPhone using Core Text. Every time user changes base font size I need to count how many pages (fixed size CGRects) are needed to display the whole NSAttribu[详细]
2023-01-06 10:04 分类:问答Rendering a Long Document on iPad
I\'m implementing a document viewer with highlighting/annotation capabilities for a custom document format on iPad. The documents are kind of long (100 to 200 pages, if printed on paper) and I\'ve had[详细]
2023-01-03 13:11 分类:问答iPhone OS syntax highlighting UITextField
I am开发者_开发百科 working on an application and would like to apply syntax highlighting to some user-entered text. I have looked around, and some people are suggesting that this can be done in iOS 3[详细]
2023-01-02 06:56 分类:问答OpenType Font Parsing for Pleasure and Profit (anyone understand these stupid tables?)
So, this is mainly for fun, I\'m poking around and trying to find my way inside a few fonts and I have a few questions I\'d really appreciate some help on if anyone has done this kind of stuff.[详细]
2023-01-01 17:48 分类:问答CoreText: Space between lines
How I can know what is the size between two lines? I\'m 开发者_Python百科using CoreText API. Try CTFontGetLeading(aCTFont).[详细]
2022-12-31 14:17 分类:问答Finding text's bounding rect in Core Text
I\'m trying to find the boundaries of a line of text in Core Text. For simplicity, assume it has a single character.[详细]
2022-12-29 18:43 分类:问答Core Text's CTFramesetterSuggestFrameSizeWithConstraints() returns incorrect size every time
According to the docs, CTFramesetterSuggestFrameSizeWithConstraints () "determines the frame size needed for a strin开发者_JS百科g range".[详细]
2022-12-27 21:37 分类:问答