Re: Superscript attribute with CATextLayer

2008-10-20 Thread Stephan Michels
2008/10/20 Scott Anguish <[EMAIL PROTECTED]>: > what is the result? do you have an image you can link to? The result is that superscript attribute seems to be completely ignored. I made a simple test project with a TextView (top), a CATextLayer(middle) and with drawAtPoint:(bottom) Screenshot:

Superscript attribute with CATextLayer

2008-10-20 Thread Stephan Michels
Hi, I have the problem if I use super/subscript within an attributed string, then it doesn't seems to work with CATextLayer, and I don't know why. I tried NSSuperscriptAttributeName and NSBaselineOffsetAttributeName string = [[NSMutableAttributedString alloc] init]; [string beginEditing]; [