add comment

This commit is contained in:
Jean-Marc Lasgouttes 2023-07-15 15:20:28 +02:00
parent 975115479a
commit 582eb7cc03

View File

@ -243,6 +243,8 @@ void InsetSpecialChar::metrics(MetricsInfo & mi, Dimension & dim) const
frontend::NullPainter np;
PainterInfo pi(mi.base.bv, np);
pi.base.font = mi.base.font;
// We rely on the fact that drawLogo updates x to compute
// the width without code duplication.
drawLogo(pi, dim.wid, 0, kind_);
break;
}