From b08898bf2d28aebdebdfe7c0f675e909b5e55bdd Mon Sep 17 00:00:00 2001 From: John Maguire Date: Mon, 28 Oct 2013 17:12:23 +0100 Subject: [PATCH] Add workaround for weird font issue in 10.9. --- src/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index f51c4d9a7..b6873af19 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -55,11 +55,13 @@ #include "qtsinglecoreapplication.h" #include +#include #include #include #include #include #include +#include #include #include #include @@ -248,6 +250,12 @@ int main(int argc, char *argv[]) { // Do Mac specific startup to get media keys working. // This must go before QApplication initialisation. mac::MacMain(); + + if (!QSysInfo::MacintoshVersion > QSysInfo::MV_10_8) { + // Work around 10.9 issue. + // https://bugreports.qt-project.org/browse/QTBUG-32789 + QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande"); + } #endif QCoreApplication::setApplicationName("Clementine");