diff --git a/src/frontends/qt4/QLPainter.cpp b/src/frontends/qt4/QLPainter.cpp index 2c6d9e7c62..858bbbeba7 100644 --- a/src/frontends/qt4/QLPainter.cpp +++ b/src/frontends/qt4/QLPainter.cpp @@ -287,6 +287,7 @@ int QLPainter::text(int x, int y, docstring const & s, // occurs at a line-break. As a kludge, we force Qt to // render this glyph using a one-column line. if (s.size() == 1 && str[0].unicode() == 0x00ad) { + setQPainterPen(f.realColor()); QTextLayout adsymbol(str); adsymbol.setFont(fi.font); adsymbol.beginLayout();