Hi, please find attached a patch that makes sure Calligra Words uses the raster graphicssystem per default rather then the native one. This provides way better performance while dealing with documents compared to the native XRender backend cause of http://bugreports.qt.nokia.com/browse/QTBUG-16629 .
What do you think? Good idea or to much of a hack?
diff --git a/words/part/main.cpp b/words/part/main.cpp index 496d6a8..993e1c4 100644 --- a/words/part/main.cpp +++ b/words/part/main.cpp @@ -25,6 +25,11 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv) { KAboutData * aboutData = newKWordAboutData(); +#ifdef Q_WS_X11 + // the "raster" graphicssystem is way faster then the "native" graphicssystem on x11 with Calligra Words + qApp->setGraphicsSystem( QLatin1String("raster") ); +#endif + KCmdLineArgs::init(argc, argv, aboutData); KCmdLineOptions options;
_______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel