diff --git a/src/frontends/qt4/GuiPainter.cpp b/src/frontends/qt4/GuiPainter.cpp index a1b0de0e67..00a4131e9b 100644 --- a/src/frontends/qt4/GuiPainter.cpp +++ b/src/frontends/qt4/GuiPainter.cpp @@ -352,10 +352,12 @@ int GuiPainter::text(int x, int y, docstring const & s, // same as that of a soft-hyphen (0x00ad), unless it // occurs at a line-break. As a kludge, we force Qt to // render this glyph using a one-column line. + // This is needed for some math glyphs. // FIXME In texted, this behaves differently depending // on lyxrc.force_paint_single_char status. // Should the soft hyphen char be displayed at all? - // I don't think so (i.e., Qt is correct here). /spitz + // I don't think so (i.e., Qt is correct as far as + // texted is concerned). /spitz if (s.size() == 1 && str[0].unicode() == 0x00ad) { setQPainterPen(computeColor(f.realColor())); QTextLayout adsymbol(str);