On Tuesday 01 October 2002 5:50 pm, Andre Poenitz wrote: > The inherited 'draw' is not good enough (Fonts too large) > The patch fixes this properly and is straight-forward. > > Ok? > > Andre'
I know that is semantics only, but is this not more transparent: void MathArrayInset::metrics(MathMetricsInfo & mi) const { + if (mi.base.style == LM_ST_DISPLAY) + MathStyleChanger(mi.base, LM_ST_TEXT); + MathGridInset::metrics(mi); } +void MathArrayInset::draw(MathPainterInfo & pi, int x, int y) const +{ + if (pi.base.style == LM_ST_DISPLAY) + MathStyleChanger(pi.base, LM_ST_TEXT); + MathGridInset::draw(pi, x, y); } Angus