diff --git a/ANNOUNCE b/ANNOUNCE index 033f50b2d2..7a00304d34 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -77,6 +77,9 @@ The LyX team. What's new in version 1.4.5? ---------------------------- +What's new +========== + ** Updates: *********** @@ -131,6 +134,9 @@ What's new in version 1.4.5? - Fix display of math root inset when the exponent contains large things (bug 3295). +- Fix display of the \overset math macro when the first argument has a + non-zero descent. + - Set a default image size value (bug 2458). - Get ProvidesNatbib working correctly, esp. for egs.layout. diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 9fde9012b6..08e9d8b464 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,8 @@ +2007-07-12 André Pönitz + + * math_oversetinset.C (draw): fix drawing when the first argument + has a non-zero descent. + 2007-07-09 Jean-Marc Lasgouttes * math_hullinset.C (MathHullInset): do not lose the preview when diff --git a/src/mathed/math_oversetinset.C b/src/mathed/math_oversetinset.C index ed4670407b..e34df2baca 100644 --- a/src/mathed/math_oversetinset.C +++ b/src/mathed/math_oversetinset.C @@ -43,7 +43,7 @@ void MathOversetInset::metrics(MetricsInfo & mi, Dimension & dim) const void MathOversetInset::draw(PainterInfo & pi, int x, int y) const { int m = x + width() / 2; - int yo = y - cell(1).ascent() + cell(0).descent() - 1; + int yo = y - cell(1).ascent() - cell(0).descent() - 1; cell(1).draw(pi, m - cell(1).width() / 2, y); FracChanger dummy(pi.base); cell(0).draw(pi, m - cell(0).width() / 2, yo); diff --git a/status.14x b/status.14x index b5b48c3190..2a35c8ee6d 100644 --- a/status.14x +++ b/status.14x @@ -71,6 +71,9 @@ What's new - Fix display of math root inset when the exponent contains large things (bug 3295). +- Fix display of the \overset math macro when the first argument has a + non-zero descent. + - Set a default image size value (bug 2458). - Get ProvidesNatbib working correctly, esp. for egs.layout.