X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSymbol.cpp;h=92d2573560a4ad808141d0d999f7263ac77012ea;hb=10c8d51b9032ebc968c50c740c9cb883b3b3cfb9;hp=885aa60f01f911c57ebcd9f54f221d50b57d9987;hpb=a9eb87a89d2ba1a492f2a01fc92e360e056bf2d6;p=lyx.git diff --git a/src/mathed/InsetMathSymbol.cpp b/src/mathed/InsetMathSymbol.cpp index 885aa60f01..92d2573560 100644 --- a/src/mathed/InsetMathSymbol.cpp +++ b/src/mathed/InsetMathSymbol.cpp @@ -61,7 +61,7 @@ docstring InsetMathSymbol::name() const void InsetMathSymbol::metrics(MetricsInfo & mi, Dimension & dim) const { // set dim - mathedSymbolDim(mi, dim, sym_); + mathedSymbolDim(mi.base, dim, sym_); // set kerning_ kerning_ = mathed_char_kerning(mi.base.font, *sym_->draw.rbegin()); // correct height for broken cmex and wasy font