On Wed, May 28, 2003 at 08:37:00AM +0200, Andre Poenitz wrote:

> The notion 'ascent above baseline' (positive upwards) and 'descent below
> baseline' (positive downwards) is not mathed's invention (certainly not
> mine).

Didn't say it was.

> > +                   dim.asc = d.ascent() + d.descent() / 2;
> 
> And that works?

Yes, try it. (start from top of row, add half of the row height).

> 
> cvs diff to two weeks ago yields:
> 
> -                       i = (InsetCollapsable::ascent(bv, font)
> -                            + InsetCollapsable::descent(bv, font)) / 2;
> +                       dim.asc = d.height() / 2;
> +                       dim.des = dim.asc;
> 
> so this should be 
> 
>     dim.asc = (d.ascent() + d.descent()) / 2 
> 
> which _is_ equivalent to
> 
>     dim.asc = d.height()  / 2 

*shrug*. Too much has changed for me to play the "why" game.

john

Reply via email to