This is the same fix as in
9940acc5 for auote inset and math macro template.
}
+void InsetSpecialChar::drawBackground(PainterInfo & pi, int x, int y) const
+{
+ if (pi.full_repaint)
+ return;
+ Dimension const dim = dimension(*pi.base.bv);
+ pi.pain.fillRectangle(x, y - dim.asc, dim.wid, dim.asc + dim.des,
+ pi.backgroundColor(this));
+}
+
+
namespace {
// helper function: draw text and update x.
///
void metrics(MetricsInfo &, Dimension &) const;
///
+ void drawBackground(PainterInfo & pi, int x, int y) const;
+ ///
void draw(PainterInfo & pi, int x, int y) const;
///
void write(std::ostream &) const;