Re: SuperScript to baseline offset
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