From 025a11000540b1ece54702b921dbccae2cc12dd2 Mon Sep 17 00:00:00 2001 From: Martin Kaistra Date: Tue, 23 May 2017 21:24:58 +0200 Subject: try fixing problems with high dpi screens, font size for video in pixels --- core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core.py') diff --git a/core.py b/core.py index 92b0d0e..92d5421 100644 --- a/core.py +++ b/core.py @@ -60,7 +60,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(255, 255, 255)) -- cgit v1.2.3