Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.0.0 Beta 1, 5.0.0 Beta 2, 5.0.0 RC 1, 5.0.0
-
None
-
OS X 10.7.5, Qt 5 built from git.
-
-
efc9b77a6e9a0efe0c260a4a7fe18bf3f87a8f13
Description
Text items in QGraphicsView are rendered in really low, pixelated quality when scaled/zoomed.
Run the simpel example below and compare the text rendered in 4.8 and 5.0. The one in 5.0 is extremely pixelated. See the attached screenshot.
#include <QApplication> #include <QGraphicsView> #include <QGraphicsTextItem> int main(int argc, char *argv[]) { QApplication a(argc, argv); QGraphicsScene scene; QGraphicsView view; view.setScene(&scene); QGraphicsTextItem * text = scene.addText("Some Text"); view.show(); view.fitInView(text); return a.exec(); }