• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SuperScript to baseline offset
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SuperScript to baseline offset


  • Subject: SuperScript to baseline offset
  • From: Scott Thompson <email@hidden>
  • Date: Thu, 02 Dec 2004 16:59:45 -0600

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
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: SuperScript to baseline offset
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Configuring and Compiling a BSD program against 10.2 Developer on 10.3
  • Next by Date: Re: Configuring and Compiling a BSD program against 10.2 Developer on 10.3
  • Previous by thread: (no subject)
  • Next by thread: Re: SuperScript to baseline offset
  • Index(es):
    • Date
    • Thread