From bc54a55491a0b6eab5179235496773410657782f 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. (cherry picked from commit 4da19ef8330fc90e712308d63aa7ddc0abfaef7b) --- src/mathed/InsetMathDelim.cpp | 2 +- status.23x | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mathed/InsetMathDelim.cpp b/src/mathed/InsetMathDelim.cpp index 809e8a0c13..70f91163db 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; diff --git a/status.23x b/status.23x index 3d5481a77f..82aeda5fc2 100644 --- a/status.23x +++ b/status.23x @@ -218,6 +218,8 @@ What's new - Handle some cases where underline across insets did not painted (bug 11402). +- Fix minimal height of delimiters inset (bug 11337). + * INTERNALS -- 2.39.5