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 for word drawing. This can be disabled by setting
USE_PIXMAP_CACHE to 0 at the top of QLPainter.cpp.
I have committed my QPixmapCache solution for text drawing. I had report
sthat this improves things on Mac/PPC and I also report that drawing is
faster on windows. Some user said that it is worse for him on Linux but
I am a bit doubtful about that report. Anyway, I have enabled the cache
by default so that it gets maximum testing. If it turns out to be less
efficient on X11 than the direct printing, we can always disabled it
depending on the platform.
I can backport this to 1.5 by the way...
Abdel.