core-text
Does CoreText support Small Caps?
Does CoreText have any facility for selecting a SmallC开发者_运维问答aps variant of a font, or for synthesizing small caps if the font doesn\'t have that feature? I can\'t find anything in the CoreTex[详细]
2023-02-07 10:19 分类:问答how to save and send NSMutableAttributedString (Obtained by using coreText) to server?
Hi all, I am trying to bold the selected text of UITextView.For that i am using coreText approach.In this i am able to bold the selected text and display on context using NSMutableAtrributedString.[详细]
2023-02-05 18:46 分类:问答How to set tab stop in CoreText
I want to set开发者_如何学运维 the tab stop in CoreText. I really need the code. The example is more good. Anyone can help me?First off, have you read the CoreText programming guide?[详细]
2023-02-02 10:20 分类:问答CoreText drawing, receiving touches, touch coordinates messed up
I have a view which draws some text using coretext. Everything works fine, text shows right side up, flipping the coordinates. However, I must also respond to touches on specific runs, so I have the f[详细]
2023-02-02 03:31 分类:问答How to set the white space size in CoreText?
I want to ask how to se开发者_运维技巧t the size of the white space in CoreText? I want to make the CoreText white space have same size with UITextView white space. Anybody can help me?You are unlikel[详细]
2023-02-01 17:53 分类:问答How to get text / String from nth line of UILabel?
Is there an easy way to get (or simply display) the text from a given line in a UILabel? My UILabel is correctly displayin开发者_如何学编程g my text and laying it out beautifully but occasionally I[详细]
2023-01-30 07:55 分类:问答Linker can't find CTFontCreateWithNameAndOptions
I am trying to use CTFontCreateWithNameAndOptions() from CoreText and the linker is saying \"Symbol(s) not found\", specifically for _CTFontCreateWithNameAndOptions. I added CoreText.framework and am[详细]
2023-01-30 07:03 分类:问答Drawing Text with Core Graphics
I need to draw centered text to a CGContext. I started with a Cocoa approach. I created a NSCell with the text and tried to draw it thus:[详细]
2023-01-29 16:34 分类:问答Is there an alternative to UIWebView for dynamically displaying formatted text?
Working on an app that needs to take a large amount of text, paginate it based on user selected font size, etc., and display it with styl开发者_开发问答es. Getting UIWebView to paginate a document has[详细]
2023-01-26 06:18 分类:问答Drawing an NSAttributedString into a non-rectangular CGPath?
I generate a rather complex NSAttributedString in my iOS 3.2 application (iPad), including formatting options of type CTParagraphStyleSetting, in particular with values for kCTParagraphStyleSpecifierM[详细]
2023-01-23 11:24 分类:问答