mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
e5cd3ce1a4
commit
a719f03d07
@ -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_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user