Skip navigation.
 
mlSuperScript to baseline offset
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

Related mailsAuthorDate
mlSuperScript to baseline offset Scott Thompson Dec 2, 23:59
mlRe: SuperScript to baseline offset Douglas Davidson Dec 3, 02:23
mlRe: SuperScript to baseline offset R. Scott Thompson Dec 3, 16:53
mlRe: SuperScript to baseline offset Douglas Davidson Dec 3, 18:21
mlRe: SuperScript to baseline offset R. Scott Thompson Dec 3, 20:40
mlRe: SuperScript to baseline offset Douglas Davidson Dec 3, 20:48
mlRe: SuperScript to baseline offset R. Scott Thompson Dec 3, 22:25