Jean-Marc's fix for wrong descent

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6337 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-03-04 15:15:58 +00:00
parent e5cd3ce1a4
commit a719f03d07

View File

@ -35,7 +35,7 @@ void MathBraceInset::metrics(MathMetricsInfo & mi) const
mathed_char_dim(mi.base.font, '{', t);
wid_ = t.w;
dim_.a = max(cell(0).ascent(), t.a);
dim_.d = max(cell(0).descent(), t.a);
dim_.d = max(cell(0).descent(), t.d);
dim_.w = cell(0).width() + 2 * wid_;
}