diff options
author | Morten Johan Sorvig <morten.sorvig@nokia.com> | 2010-03-30 12:44:11 +0200 |
---|---|---|
committer | Morten Johan Sorvig <morten.sorvig@nokia.com> | 2010-03-30 12:44:11 +0200 |
commit | 1e7862d7748fddc25c624cbe44bf01f89cd3cb38 (patch) | |
tree | 0a60df4c7713355e3357d31b329f07c4a8076dc8 | |
parent | 95373832fa899b1870acca8ce5ee8bd2fa2f9617 (diff) |
Fix the font size.
Ideally we want some sort of dpi calculation here,
this works for now.
-rw-r--r-- | src/gui/painting/qgraphicssystem_pepper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qgraphicssystem_pepper.cpp b/src/gui/painting/qgraphicssystem_pepper.cpp index 60977dd625..2d6b666ebc 100644 --- a/src/gui/painting/qgraphicssystem_pepper.cpp +++ b/src/gui/painting/qgraphicssystem_pepper.cpp @@ -61,7 +61,7 @@ QPepperGraphicsSystem::QPepperGraphicsSystem() qDebug() << "QPepperGraphicsSystem screen size" << screenSize; mPrimaryScreen->mGeometry = QRect(QPoint(0, 0), screenSize); - mPrimaryScreen->mPhysicalSize = screenSize; + mPrimaryScreen->mPhysicalSize = screenSize / 3; mPrimaryScreen->device = plugin_object->device2d_; mPrimaryScreen->context = plugin_object->context; mPrimaryScreen->npp = plugin_object->npp_; |