• 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
Re: SuperScript to baseline offset
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SuperScript to baseline offset


  • Subject: Re: SuperScript to baseline offset
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 3 Dec 2004 09:21:23 -0800


On Dec 3, 2004, at 7:53 AM, R. Scott Thompson wrote:


I know in the WWDC presentation this past year you mentioned that Tiger will include drawing routines that allow you to position the text using the baseline rather than the upper left corner of the text box. Is there a way in 10.2/10.3, when I'm working with a text layout, to determine what offset in the layout is the "baseline" for a given line fragment (i.e. the line from which baseline offsets are calcuated)?

Yes. Ask the layout manager's typesetter, using baselineOffsetInLayoutManager:glyphIndex:.


Douglas Davidson

_______________________________________________
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: "R. Scott Thompson" <email@hidden>
References: 
 >SuperScript to baseline offset (From: Scott Thompson <email@hidden>)
 >Re: SuperScript to baseline offset (From: Douglas Davidson <email@hidden>)
 >Re: SuperScript to baseline offset (From: "R. Scott Thompson" <email@hidden>)

  • Prev by Date: Modal Window and Drawer Issue
  • Next by Date: Re: text woes, the next chapter
  • Previous by thread: Re: SuperScript to baseline offset
  • Next by thread: Re: SuperScript to baseline offset
  • Index(es):
    • Date
    • Thread