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

2007-08-27 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: I can backport this to 1.5 by the way... If this really is a significant speed improvement on Windows and Mac, On Mac yes. Only a small improvement on Windows. and if the problems are solved by disabling the cache on Unix (I'm not sure

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

2007-08-27 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: I can backport this to 1.5 by the way... If this really is a significant speed improvement on Windows and Mac, On Mac yes. Only a small improvement on Windows. and if the problems are solved by disabling the cache on Unix (I'm not sure

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

2007-08-26 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: I can backport this to 1.5 by the way... If this really is a significant speed improvement on Windows and Mac, and if the problems are solved by disabling the cache on Unix (I'm not sure I'm up to date in that discussion), then yes. Jürgen

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

2007-08-26 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > I can backport this to 1.5 by the way... If this really is a significant speed improvement on Windows and Mac, and if the problems are solved by disabling the cache on Unix (I'm not sure I'm up to date in that discussion), then yes. Jürgen

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

2007-08-16 Thread Jean-Marc Lasgouttes
Abdelrazak Younes [EMAIL PROTECTED] writes: it is certainly less efficient for me ;-) as all text except smallcaps has become invisible! Setting USE_PIXMAP_CACHE to 0 restores text rendering. Too bad! Somebody else seeing this? I see the same here with Qt 4.1.4 when running locally. When

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

2007-08-16 Thread Andre Poenitz
On Wed, Aug 15, 2007 at 02:30:23PM +0200, Abdelrazak Younes wrote: Martin Vermeer wrote: On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: Hi Abdel, it is certainly less efficient for me ;-) as all text except smallcaps has become invisible! Setting USE_PIXMAP_CACHE to 0

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

2007-08-16 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes [EMAIL PROTECTED] writes: it is certainly less efficient for me ;-) as all text except smallcaps has become invisible! Setting USE_PIXMAP_CACHE to 0 restores text rendering. Too bad! Somebody else seeing this? I see the same here with Qt 4.1.4

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

2007-08-16 Thread Abdelrazak Younes
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

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

2007-08-16 Thread Enrico Forestieri
On Thu, Aug 16, 2007 at 06:37:49PM +0200, Abdelrazak Younes wrote: It's fixed now, thanks. Thank you, Abdel. -- Enrico

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

2007-08-16 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> it is certainly less efficient for me ;-) as all text except >> smallcaps has become invisible! >> >> Setting USE_PIXMAP_CACHE to 0 restores text rendering. > > Too bad! Somebody else seeing this? I see the same here with Qt 4.1.4 when running

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

2007-08-16 Thread Andre Poenitz
On Wed, Aug 15, 2007 at 02:30:23PM +0200, Abdelrazak Younes wrote: > Martin Vermeer wrote: > >On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: > > >>>Hi Abdel, > >>>it is certainly less efficient for me ;-) as all text except > >>>smallcaps has become invisible! > >>>Setting

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

2007-08-16 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: it is certainly less efficient for me ;-) as all text except smallcaps has become invisible! Setting USE_PIXMAP_CACHE to 0 restores text rendering. Too bad! Somebody else seeing this? I see the same here with Qt 4.1.4

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

2007-08-16 Thread Abdelrazak Younes
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

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

2007-08-16 Thread Enrico Forestieri
On Thu, Aug 16, 2007 at 06:37:49PM +0200, Abdelrazak Younes wrote: > It's fixed now, thanks. Thank you, Abdel. -- Enrico

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

2007-08-15 Thread Martin Vermeer
On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: Martin Vermeer wrote: On Mon, Aug 13, 2007 at 07:48:03PM +0200, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Mon Aug 13 19:35:09 2007 New Revision: 19513 URL:

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

2007-08-15 Thread Abdelrazak Younes
Martin Vermeer wrote: On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: Hi Abdel, it is certainly less efficient for me ;-) as all text except smallcaps has become invisible! Setting USE_PIXMAP_CACHE to 0 restores text rendering. Too bad! Somebody else seeing this? I use

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

2007-08-15 Thread Enrico Forestieri
On Wed, Aug 15, 2007 at 02:30:23PM +0200, Abdelrazak Younes wrote: Martin Vermeer wrote: On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: Hi Abdel, it is certainly less efficient for me ;-) as all text except smallcaps has become invisible! Setting USE_PIXMAP_CACHE

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

2007-08-15 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Wed, Aug 15, 2007 at 02:30:23PM +0200, Abdelrazak Younes wrote: Martin Vermeer wrote: On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: Hi Abdel, it is certainly less efficient for me ;-) as all text except smallcaps has become invisible! Setting

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

2007-08-15 Thread Enrico Forestieri
On Wed, Aug 15, 2007 at 06:57:19PM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: On Wed, Aug 15, 2007 at 02:30:23PM +0200, Abdelrazak Younes wrote: Martin Vermeer wrote: On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: Hi Abdel, it is certainly less

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

2007-08-15 Thread Abdelrazak Younes
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

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

2007-08-15 Thread Abdelrazak Younes
Enrico Forestieri wrote: This is not X11 related. If you load the attached .lyx file, you wont be able to see the second \Omega, and the first one is displayed in black. When setting USE_PIXMAP_CACHE to 0, the second \Omega is visible again, but they are in black, still. Happens with Qt 4.1.5,

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

2007-08-15 Thread Abdelrazak Younes
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

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

2007-08-15 Thread Enrico Forestieri
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

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

2007-08-15 Thread Abdelrazak Younes
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

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

2007-08-15 Thread Enrico Forestieri
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

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

2007-08-15 Thread Enrico Forestieri
On Wed, Aug 15, 2007 at 07:40:18PM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: This is not X11 related. If you load the attached .lyx file, you wont be able to see the second \Omega, and the first one is displayed in black. When setting USE_PIXMAP_CACHE to 0, the second

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

2007-08-15 Thread Martin Vermeer
On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: > Martin Vermeer wrote: > > On Mon, Aug 13, 2007 at 07:48:03PM +0200, Abdelrazak Younes wrote: > >> [EMAIL PROTECTED] wrote: > >>> Author: younes > >>> Date: Mon Aug 13 19:35:09 2007 > >>> New Revision: 19513 > >>> URL:

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

2007-08-15 Thread Abdelrazak Younes
Martin Vermeer wrote: On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: Hi Abdel, it is certainly less efficient for me ;-) as all text except smallcaps has become invisible! Setting USE_PIXMAP_CACHE to 0 restores text rendering. Too bad! Somebody else seeing this? I use

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

2007-08-15 Thread Enrico Forestieri
On Wed, Aug 15, 2007 at 02:30:23PM +0200, Abdelrazak Younes wrote: > Martin Vermeer wrote: > > On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: > > >>> Hi Abdel, > >>> it is certainly less efficient for me ;-) as all text except > >>> smallcaps has become invisible! > >>>

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

2007-08-15 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Wed, Aug 15, 2007 at 02:30:23PM +0200, Abdelrazak Younes wrote: Martin Vermeer wrote: On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: Hi Abdel, it is certainly less efficient for me ;-) as all text except smallcaps has become invisible! Setting

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

2007-08-15 Thread Enrico Forestieri
On Wed, Aug 15, 2007 at 06:57:19PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > On Wed, Aug 15, 2007 at 02:30:23PM +0200, Abdelrazak Younes wrote: > > > >> Martin Vermeer wrote: > >>> On Tue, Aug 14, 2007 at 10:49:12PM +0200, Abdelrazak Younes wrote: > > Hi Abdel, > >

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

2007-08-15 Thread Abdelrazak Younes
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

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

2007-08-15 Thread Abdelrazak Younes
Enrico Forestieri wrote: This is not X11 related. If you load the attached .lyx file, you wont be able to see the second \Omega, and the first one is displayed in black. When setting USE_PIXMAP_CACHE to 0, the second \Omega is visible again, but they are in black, still. Happens with Qt 4.1.5,

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

2007-08-15 Thread Abdelrazak Younes
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

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

2007-08-15 Thread Enrico Forestieri
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

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

2007-08-15 Thread Abdelrazak Younes
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

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

2007-08-15 Thread Enrico Forestieri
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

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

2007-08-15 Thread Enrico Forestieri
On Wed, Aug 15, 2007 at 07:40:18PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > > This is not X11 related. If you load the attached .lyx file, you wont > > be able to see the second \Omega, and the first one is displayed > > in black. When setting USE_PIXMAP_CACHE to 0, the

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

2007-08-14 Thread Martin Vermeer
On Mon, Aug 13, 2007 at 07:48:03PM +0200, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Mon Aug 13 19:35:09 2007 New Revision: 19513 URL: http://www.lyx.org/trac/changeset/19513 Log: * QLPainter::text(): - reorganize the code to minimize indentation by

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

2007-08-14 Thread Abdelrazak Younes
Martin Vermeer wrote: On Mon, Aug 13, 2007 at 07:48:03PM +0200, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Mon Aug 13 19:35:09 2007 New Revision: 19513 URL: http://www.lyx.org/trac/changeset/19513 Log: * QLPainter::text(): - reorganize the code to minimize

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

2007-08-14 Thread Martin Vermeer
On Mon, Aug 13, 2007 at 07:48:03PM +0200, Abdelrazak Younes wrote: > [EMAIL PROTECTED] wrote: > > Author: younes > > Date: Mon Aug 13 19:35:09 2007 > > New Revision: 19513 > > URL: http://www.lyx.org/trac/changeset/19513 > > Log: > > * QLPainter::text(): > > - reorganize the code to minimize

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

2007-08-14 Thread Abdelrazak Younes
Martin Vermeer wrote: On Mon, Aug 13, 2007 at 07:48:03PM +0200, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Mon Aug 13 19:35:09 2007 New Revision: 19513 URL: http://www.lyx.org/trac/changeset/19513 Log: * QLPainter::text(): - reorganize the code to minimize

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

2007-08-13 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Author: younes Date: Mon Aug 13 19:35:09 2007 New Revision: 19513 URL: http://www.lyx.org/trac/changeset/19513 Log: * QLPainter::text(): - reorganize the code to minimize indentation by returning early for special cases - use a pixmap cache for word drawing. This can

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

2007-08-13 Thread Abdelrazak Younes
Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Mon Aug 13 19:35:09 2007 New Revision: 19513 URL: http://www.lyx.org/trac/changeset/19513 Log: * QLPainter::text(): - reorganize the code to minimize indentation by returning early for special cases - use a pixmap cache

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

2007-08-13 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Author: younes Date: Mon Aug 13 19:35:09 2007 New Revision: 19513 URL: http://www.lyx.org/trac/changeset/19513 Log: * QLPainter::text(): - reorganize the code to minimize indentation by returning early for special cases - use a pixmap cache for word drawing. This can

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

2007-08-13 Thread Abdelrazak Younes
Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Mon Aug 13 19:35:09 2007 New Revision: 19513 URL: http://www.lyx.org/trac/changeset/19513 Log: * QLPainter::text(): - reorganize the code to minimize indentation by returning early for special cases - use a pixmap cache