On Thursday 15 August 2002 2:30 pm, Andre Poenitz wrote:
> Angus,
>
> I'd like to kill the display() function of formulabase.C.
>
> I am at the poit were it is only used for that 12-pixel-descent-
> correction for preview image. Could that be solved otherwise?

There is no display() function in formulabase.C.

Do you mean this? That's the only correction that I introduced.

int InsetFormula::descent(BufferView *, LyXFont const &) const
{
        if (!preview_->previewReady())
                return 1 + par_->descent();

        int const descent = preview_->pimage()->descent();
        return display() ? descent + 12 : descent;
}

Reply via email to