Cell in delimiter inset should not be tight

Fixes bug #11337.
This commit is contained in:
Jean-Marc Lasgouttes 2019-05-24 11:10:17 +02:00
parent ef6ddfc788
commit 4da19ef833

View File

@ -93,7 +93,7 @@ void InsetMathDelim::metrics(MetricsInfo & mi, Dimension & dim) const
{
Changer dummy = mi.base.changeEnsureMath();
Dimension dim0;
cell(0).metrics(mi, dim0);
cell(0).metrics(mi, dim0, false);
Dimension t = theFontMetrics(mi.base.font).dimension('I');
int h0 = (t.asc + t.des) / 2;
int a0 = max(dim0.asc, t.asc) - h0;