diff --git a/src/main.cpp b/src/main.cpp index 4019055..fdb378d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -38,9 +39,11 @@ int main(int argc, char *argv[]) { QPainter painter(&canvas); painter.setPen(QColor(0, 174, 239)); // light blue - QFont font(":/splash/KozGoPro-ExtraLight.otf"); - font.setPointSize(24); - painter.setFont(font); + int fontId = QFontDatabase::addApplicationFont(":/splash/KozGoPro-ExtraLight.otf"); + QString fontFamily = QFontDatabase::applicationFontFamilies(fontId).at(0); + QFont versionFont(fontFamily); + versionFont.setPixelSize(24); + painter.setFont(versionFont); painter.drawText( 0, 0, 418, 130, diff --git a/src/resources/about_bgr.png b/src/resources/about_bgr.png index a3f9fcc..8a88538 100644 Binary files a/src/resources/about_bgr.png and b/src/resources/about_bgr.png differ