2007-07-12 André Pönitz <poenitz@lyx.org>

* math_oversetinset.C (draw): fix drawing when the first argument
	has a non-zero descent.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@19059 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2007-07-12 14:17:22 +00:00
parent dd39d7cdb2
commit d9be32a2fe
4 changed files with 15 additions and 1 deletions

View File

@ -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.

View File

@ -1,3 +1,8 @@
2007-07-12 André Pönitz <poenitz@lyx.org>
* math_oversetinset.C (draw): fix drawing when the first argument
has a non-zero descent.
2007-07-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* math_hullinset.C (MathHullInset): do not lose the preview when

View File

@ -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);

View File

@ -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.