core-text Questions
1
Solved
I want to write text in a path that can take up any shape. Right now I can draw flipped text in it:
NSArray *coordinates = ...;
CGMutablePathRef pathRef = [self objectPathGivenCoordinates:coordin...
1
Solved
I am having a problem deleting my OpenGL ES textures are created via Quartz 2D and Core Text as shown below :
- (void)drawText:(CGContextRef)contextP startX:(float)x startY:(float)
y withText:(NSS...
Gangrel asked 10/12, 2013 at 9:36
4
Solved
How do I change the vertical alignment of the text in a CTFramesetter frame? I want my text to be in the middle instead of being at the top. I am using Core Text framework. There is a setting of ...
2
Solved
Im on an iOS app that should able to highlight text, and make it clickable too.
I read about NSAttributedString in iOS but it still more complicated than Spannable in android.
Is there any other ...
Surfboard asked 18/11, 2013 at 9:24
1
Solved
I am using a custom font in OpenType(.otf) format and would like to use some of the OpenType Features of the font.
How can I accomplish this with UIKit or CoreText? I would obviously prefer UIKit,...
1
Solved
I'm making a magazine with Core Text and I'm trying to automatically add hyphens to the text. I think I can do this with the function
CFStringGetHyphenationLocationBeforeIndex
But it's not worki...
Evvy asked 15/4, 2013 at 15:4
1
Solved
H!
I'm writing a textview with subviews clipping features. The idea is to make all text draw around all subviews. The problem is to get it's content height.
Due to the lack of documentation, I dec...
Jaymie asked 15/10, 2013 at 9:15
2
I ran my app under iOS 7 and discovered that multiline labels (non-attributed, plain text) render with a small line spacing. Anyone knows what to do it with iOS 5 compatibility?
iOS 5/6
iOS 7
...
3
Solved
In iOS7 CGContextSelectFont is deprecated. Deprecation message says that I have to use Core Text, but I don't know which is the exact equivalent of this piece of code:
CGContextSelectFont(context,...
Valentinavalentine asked 23/9, 2013 at 22:13
0
I'm updating an app to iOS 7 that uses the depreciated ShowTextAtPoint method and can't seem to find the proper way to use CoreText instead of ShowTextAtPoint.
Veats asked 6/9, 2013 at 14:59
3
Solved
In my iOS app I use custom fonts, dynamically loaded from files.
To use them in code, I need to know loaded fonts' families. So, is there any way to do it?
UPDATE:
I can't somehow hardcode font ...
Mediatize asked 12/2, 2013 at 3:18
1
Solved
Please help me understand the problem with the following code:
NSString *fontName = @"ArialMT";
CGFloat fontSize = 20.0;
CTFontRef fontRef = CTFontCreateWithName((CFStringRef)fontName, fontSize, N...
2
Solved
I am using Core Text to add text to UITableviewCell's content but arabic content seems to be overlapping and repeating itself as I scroll and superimpose on the other cells.
I am also using other ...
Faunia asked 25/5, 2013 at 22:31
3
Solved
I want to override the emoji icons with my own custom graphics (only within my app).
From what I've read so far, one possible solution is to create a custom font extension which overrides the des...
1
The code is extracted from SimpleTextInput sampe code, with a bit modification.
Create the frame:
self.font = [UIFont systemFontOfSize:18.f];
CTFontRef ctFont = CTFontCreateWithName((CFStringRef)...
2
Solved
I can draw rich-text with Core Text, the problem is placing images flowing with the text.
(iOS SDK 4.1)
I'm try to drawing some kind of rich-text. Problem is designer placed many icons among text....
3
Solved
This question is about implementing text indentation ("The placement of text farther to the right to separate it from surrounding text") in iOS.
Take for example the following text:
This is the ...
Chuvash asked 26/4, 2013 at 16:18
2
Solved
Working with some CoreText code on iOS and I am confused as to why this is an overrelease of the CTFrame. I have confirmed it is an over-release but I am baffled because it is created with a create...
Venicevenin asked 26/7, 2010 at 21:41
2
Solved
I am using a custom font applied to a CATextLayer. I am using the tutorial and sample code found here. http://www.freetimestudios.com/2010/09/13/custom-fonts-on-the-ipad-and-ios-4/
However, every ...
1
Solved
I am looking into making an app where a user can change the size and orientation of UITextField. I was looking into Aviary app and what I see is that users can not only increase or decrease the siz...
Flippant asked 16/4, 2013 at 13:23
3
Solved
I have heard that I can display a NSAttributedString using CoreText, can anyone say me how (The simplest way)?
Please, don't answer with CATextLayer or OHAttributedLabel.
I know that there are a ...
Fanjet asked 30/11, 2011 at 6:35
2
Solved
So I'm using the code below to apply a stroke (and fill) to text in a UILabel, and it's coming out like the image below. The stroke is heavier on one side than the other (look at the top of the let...
Neurosurgery asked 5/4, 2013 at 16:22
2
Solved
I’m looking at Apple’s SimpleTextInput sample code, which is a sample project for an iOS text editor that uses Core Text to display the text. This is a wonderful thing.
But its ReadMe document say...
Folberth asked 30/10, 2011 at 16:32
1
Solved
I am trying to dynamically create book pages based on a long NSAttributedString splitted into pieces.
What I am doing now is using this category for NSAttributedString:
@interface NSAttributedStr...
Monegasque asked 9/3, 2013 at 11:40
3
Solved
I have a UILabel with the string 'LA'. I also have a CATextLayer with the same characters in an NSAttributedString assigned to its string property. The kerning in the UILabel is noticeably differen...
© 2022 - 2024 — McMap. All rights reserved.