changeset 684:6bfca8973f79

Another font consistency fix
author Chris Cannam
date Fri, 07 Dec 2018 17:38:17 +0000
parents 759b81c38bb1
children 9e31ab5d9394
files src/uncommitteditem.cpp
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/uncommitteditem.cpp	Fri Dec 07 17:13:47 2018 +0000
+++ b/src/uncommitteditem.cpp	Fri Dec 07 17:38:17 2018 +0000
@@ -127,9 +127,6 @@
     QTransform t = paint->worldTransform();
     float scale = std::min(t.m11(), t.m22());
     if (scale > 1.0) {
-	int ps = int((f.pixelSize() / scale) + 0.5);
-	if (ps < 8) ps = 8;
-	f.setPixelSize(ps);
 #ifdef Q_OS_WIN32
         f.setHintingPreference(QFont::PreferVerticalHinting);
 #endif