Enrico Forestieri wrote:
On Wed, Aug 15, 2007 at 07:58:28PM +0200, Abdelrazak Younes wrote:

Abdelrazak Younes wrote:
Enrico Forestieri wrote:
On Wed, Aug 15, 2007 at 07:30:47PM +0200, Abdelrazak Younes wrote:

Enrico Forestieri wrote:
On Wed, Aug 15, 2007 at 06:57:19PM +0200, Abdelrazak Younes wrote:
Yes, I confirm this problem but this looks like something else.
This was introduced by your changes, so it cannot be something else.
I mean I don't think it's the same problem as Martin. It is of course a bug of the pixmap cache. If I cannot correct it soon, I'll disable it by default.
The \Omega still remains black, though.
Yes, I know the problem, I forgot the set the font for this special case. I'll correct that soon.
Nope, it doesn't change anything as the font is set in the used QTextLayout I guess. I get the problem with or without the Pixmap cache by the way.

It works allright in 1.5 and I could swear it was also working until
not so many days ago, at least until I was still able to compile 1.6...

It's fixed now, thanks.

Abdel.

Author: younes
Date: Thu Aug 16 18:35:38 2007
New Revision: 19609

URL: http://www.lyx.org/trac/changeset/19609
Log:
Fix color of \Omega.

Modified:
    lyx-devel/trunk/src/frontends/qt4/QLPainter.cpp

Modified: lyx-devel/trunk/src/frontends/qt4/QLPainter.cpp
URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/frontends/qt4/QLPainter.cpp?rev=19609
==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/QLPainter.cpp (original)
+++ lyx-devel/trunk/src/frontends/qt4/QLPainter.cpp Thu Aug 16 18:35:38 2007
@@ -287,6 +287,7 @@
        // 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();



Reply via email to