aboutsummaryrefslogtreecommitdiff
path: root/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'core.py')
-rw-r--r--core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core.py b/core.py
index 6981b87..900a98f 100644
--- a/core.py
+++ b/core.py
@@ -61,7 +61,7 @@ class Core():
self._image1 = QtGui.QImage(self._image)
painter = QPainter(self._image1)
font = titleFont
- font.setPointSizeF(fontSize)
+ font.setPixelSize(fontSize)
painter.setFont(font)
painter.setPen(QColor(*textColor))