On Sun, Sep 16, 2007 at 02:53:56PM +0200, Andre Poenitz wrote:
> On Sun, Sep 16, 2007 at 02:42:11PM +0200, Tommaso Cucinotta wrote:
> > And, what about ParagraphMetrics.position_, ascent
> > and discent ?
> > 
> > Ok, they're y coords, they represent the paragraph vertical
> > dimension and position, but I couldn't really figure out what
> > are they relative to, and why I always see in the code
> > *) position()-ascent()
> > *) position()+descent()
> > 
> > Thanx again, bye,
> 
> Because we always measure from some base line, so the top of something
> would be y + asc, and the bottom y - des.

The baseline is like in LaTeX, the line the letter shapes rests on, so
for the letter p it would be the lower edge of the arc, like _p_.

- Martin

Reply via email to