diff options
author | Thomas Karl Pietrowski <thopiekar@googlemail.com> | 2016-07-03 16:00:26 +0300 |
---|---|---|
committer | Thomas Karl Pietrowski <thopiekar@googlemail.com> | 2016-07-03 16:00:26 +0300 |
commit | a38606da4a159389824fabdc7cebf07b9df5557a (patch) | |
tree | 383bf7351cbf1445442d104d0d0912ac9575bfe7 /cura/CuraSplashScreen.py | |
parent | a7939c6f3db3b3598e601fbbdee6f168d8b6b99e (diff) |
SplashScreen: Using system-default fontfamily
Contributes to CURA-1676
Diffstat (limited to 'cura/CuraSplashScreen.py')
-rw-r--r-- | cura/CuraSplashScreen.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cura/CuraSplashScreen.py b/cura/CuraSplashScreen.py index f2810d359b..3f24502bcd 100644 --- a/cura/CuraSplashScreen.py +++ b/cura/CuraSplashScreen.py @@ -25,10 +25,14 @@ class CuraSplashScreen(QSplashScreen): if buildtype: version[0] += " (%s)" %(buildtype) - painter.setFont(QFont("Proxima Nova Rg", 20 )) + used_font = QFont() # Using system-default font here + used_font.setPointSize(20) + painter.setFont(used_font) painter.drawText(0, 0, 330 * self._scale, 230 * self._scale, Qt.AlignHCenter | Qt.AlignBottom, version[0]) if len(version) > 1: - painter.setFont(QFont("Proxima Nova Rg", 12 )) + used_font = QFont() # Using system-default font here + used_font.setPointSize(12) + painter.setFont(used_font) painter.drawText(0, 0, 330 * self._scale, 255 * self._scale, Qt.AlignHCenter | Qt.AlignBottom, version[1]) painter.restore() |