From 2a7aa98afdfd9066f89f98e82963c213633e5aca Mon Sep 17 00:00:00 2001 From: Zach Thibeau Date: Mon, 11 Nov 2013 03:38:20 -0500 Subject: [PATCH] added fontfix for osx --- src/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index fe7b8d87b..d280a8b44 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -187,6 +187,14 @@ void sigabrtHandler(int) { // Main int main(int argc, char *argv[]) { +#ifdef Q_OS_MACX + if ( QSysInfo::MacintoshVersion > QSysInfo::MV_10_8 ) + { + // fix Mac OS X 10.9 (mavericks) font issue + // https://bugreports.qt-project.org/browse/QTBUG-32789 + QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande"); + } +#endif // Create Application QString uid = misc::getUserIDString(); #ifdef DISABLE_GUI