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 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.
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. I use qt4.1.5-2 on an old Fedora, with same version qt4-devel. Intel hardware. Regards Martin