Re: patch for gr_UnixImage.cpp

From: Martin Sevior <msevior_at_physics.unimelb.edu.au>
Date: Sun Nov 27 2005 - 23:56:45 CET

On Sun, 2005-11-27 at 16:41 +0100, Luca Padovani wrote:
> Hi Jean,
>
> On 27/nov/05, at 15:49, Jean Bréfort wrote:
> > so it can become negative... IMHO, both ascent and descent should be
> > changed proportionally when height change.
> > This can be done easily in fp_EmbedRun.cpp. Any comment?
>
> I think it depends on the kind of object that is embedded, more
> specifically how it is meant to be vertically aligned. For an
> embedded chart a solution like "ascent and descent are just half of
> the chart's overall height" might work fine, but a math formula does
> have a concept of ascent/descent, and those quantities should be
> respected for the formula to be aligned correctly with the
> surrounding text.
>
> BTW, is this the reason why there's still a mathrun object in the
> AbiWord source code?
>

Hi Luca,
        There are a number of important differences between math objects
and generic embedded objects. I can't remember them at the moment
though!

In any case we definitely want to keep them fp_EmbedRun.cpp seperate
from fp_MathRun.cpp

Cheers

Martin

> Cheers,
> --luca
Received on Mon Nov 28 00:53:34 2005

This archive was generated by hypermail 2.1.8 : Mon Nov 28 2005 - 00:53:34 CET