FROM : Scott Thompson
DATE : Thu Dec 02 23:59:45 2004
If I bring in RTF text that contains superscript (or subscript) information, the text attributes in that text range will contain the NSSuperscriptAttributeName attribute but apparently not the NSBaselineOffsetAttributeName.
At what point in the text layout process is NSSuperscriptAttributeName "changed" into a baseline offset? If I want to change the way that the SuperScript is represented (say by substituting a smaller point size of the same font, or changing the magnitude of the baseline shift) where would I insert my code?
Scott
DATE : Thu Dec 02 23:59:45 2004
If I bring in RTF text that contains superscript (or subscript) information, the text attributes in that text range will contain the NSSuperscriptAttributeName attribute but apparently not the NSBaselineOffsetAttributeName.
At what point in the text layout process is NSSuperscriptAttributeName "changed" into a baseline offset? If I want to change the way that the SuperScript is represented (say by substituting a smaller point size of the same font, or changing the magnitude of the baseline shift) where would I insert my code?
Scott
| Related mails | Author | Date |
|---|---|---|
| Scott Thompson | Dec 2, 23:59 | |
| Douglas Davidson | Dec 3, 02:23 | |
| R. Scott Thompson | Dec 3, 16:53 | |
| Douglas Davidson | Dec 3, 18:21 | |
| R. Scott Thompson | Dec 3, 20:40 | |
| Douglas Davidson | Dec 3, 20:48 | |
| R. Scott Thompson | Dec 3, 22:25 |






Cocoa mail archive

