From: Abdelrazak Younes Date: Fri, 17 Aug 2007 07:14:03 +0000 (+0000) Subject: disable pixmap cache under X11 X-Git-Tag: 1.6.10~8829 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e62684db3404aab01d9e3e2d12bcab4b800cc855;p=lyx.git disable pixmap cache under X11 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19616 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/QLPainter.cpp b/src/frontends/qt4/QLPainter.cpp index 858bbbeba7..b9bbf6a686 100644 --- a/src/frontends/qt4/QLPainter.cpp +++ b/src/frontends/qt4/QLPainter.cpp @@ -29,9 +29,13 @@ #include #include -// Set this to one for enabling the use of a Pixmap cache when drawing -// text. This is especially useful for older PPC/Mac systems. +// Set USE_PIXMAP_CACHE to 1 for enabling the use of a Pixmap cache when +// drawing text. This is especially useful for older PPC/Mac systems. +#ifdef Q_WS_X11 +#define USE_PIXMAP_CACHE 0 +#else #define USE_PIXMAP_CACHE 1 +#endif using std::endl; using std::string;