diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 76feef97a0..a20d42383d 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,7 @@ +2007-03-13 André Pönitz + + * math_rootinset.C (metrics): fix computation of descent (bug 3295). + 2007-01-17 Jean-Marc Lasgouttes * math_hullinset.C (numbered): clear the label when unnumbering diff --git a/src/mathed/math_rootinset.C b/src/mathed/math_rootinset.C index 974f76cfb6..54e5915da8 100644 --- a/src/mathed/math_rootinset.C +++ b/src/mathed/math_rootinset.C @@ -39,7 +39,7 @@ void MathRootInset::metrics(MetricsInfo & mi, Dimension & dim) const { MathNestInset::metrics(mi); dim.asc = max(cell(0).ascent() + 5, cell(1).ascent()) + 2; - dim.des = max(cell(1).descent() + 5, cell(0).descent()) + 2; + dim.des = max(cell(0).descent() - 5, cell(1).descent()) + 2; dim.wid = cell(0).width() + cell(1).width() + 10; metricsMarkers(dim); dim_ = dim; @@ -61,7 +61,6 @@ void MathRootInset::draw(PainterInfo & pi, int x, int y) const xp[1] = x + w + 4; yp[1] = y - a + 1; xp[2] = x + w; yp[2] = y + d; xp[3] = x + w - 2; yp[3] = y + (d - a)/2 + 2; - //xp[4] = x; yp[4] = y + (d - a)/2 + 2; xp[4] = x + w - 5; yp[4] = y + (d - a)/2 + 4; pi.pain.lines(xp, yp, 5, LColor::math); drawMarkers(pi, x, y); diff --git a/status.14x b/status.14x index 9bc5025713..8b01bad1c4 100644 --- a/status.14x +++ b/status.14x @@ -42,6 +42,9 @@ What's new - Make it possible to reset itemize bullets to their original state (bug 3312). +- Fix display of math root inset when the exponent contains large + things (bug 3295). + * BUILD/INSTALLATION: