From 4da19ef8330fc90e712308d63aa7ddc0abfaef7b Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 24 May 2019 11:10:17 +0200 Subject: [PATCH] Cell in delimiter inset should not be tight Fixes bug #11337. --- src/mathed/InsetMathDelim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/InsetMathDelim.cpp b/src/mathed/InsetMathDelim.cpp index 6a2be5e118..1989d48dc2 100644 --- a/src/mathed/InsetMathDelim.cpp +++ b/src/mathed/InsetMathDelim.cpp @@ -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; -- 2.39.5