mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
* math_rootinset.C (metrics): fix computation of descent (bug 3295).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17434 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c4b6d0577e
commit
e7577ab67f
@ -1,3 +1,7 @@
|
||||
2007-03-13 André Pönitz <poenitz@lyx.org>
|
||||
|
||||
* math_rootinset.C (metrics): fix computation of descent (bug 3295).
|
||||
|
||||
2007-01-17 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* math_hullinset.C (numbered): clear the label when unnumbering
|
||||
|
@ -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);
|
||||
|
@ -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:
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user