mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Fixup 12fcaf86
: use correct font for metrics of logos
This commit is contained in:
parent
c3f10df95d
commit
3a7346b0cb
@ -212,6 +212,7 @@ void InsetSpecialChar::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
dim.des = fm.maxDescent();
|
dim.des = fm.maxDescent();
|
||||||
frontend::NullPainter np;
|
frontend::NullPainter np;
|
||||||
PainterInfo pi(mi.base.bv, np);
|
PainterInfo pi(mi.base.bv, np);
|
||||||
|
pi.base.font = mi.base.font;
|
||||||
drawLogo(pi, dim.wid, 0, kind_);
|
drawLogo(pi, dim.wid, 0, kind_);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user