From 6ca5b81f6de9ada87da2187397ed6a1f335b2205 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Sun, 14 Aug 2022 17:53:35 +0200 Subject: [PATCH] Fix: Font size on Android --- sources/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sources/main.cpp b/sources/main.cpp index fb66458..18ee8fc 100644 --- a/sources/main.cpp +++ b/sources/main.cpp @@ -33,6 +33,9 @@ int main(int argc, char *argv[]) QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); QGuiApplication app(argc, argv); + QFont f = app.font(); + f.setPixelSize(16); + app.setFont(f); // translation QString localeName = QLocale::system().bcp47Name();