]> git.lyx.org Git - lyx.git/commitdiff
Fix color of \Omega.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 16 Aug 2007 16:35:38 +0000 (16:35 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 16 Aug 2007 16:35:38 +0000 (16:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19609 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/QLPainter.cpp

index 2c6d9e7c620654bd4605a47259a10403151df4ed..858bbbeba71c82f728829ee4ccc38937e9eb8dfb 100644 (file)
@@ -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();