Cell in delimiter inset should not be tight

Fixes bug #11337.

(cherry picked from commit 4da19ef833)
This commit is contained in:
Jean-Marc Lasgouttes 2019-05-24 11:10:17 +02:00
parent 49255788ea
commit bc54a55491
2 changed files with 3 additions and 1 deletions

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;

View File

@ -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