changeset 678:c32abd18048b

Qt font fix for OS/X 10.9
author Chris Cannam
date Thu, 05 Dec 2013 12:39:25 +0000
parents e6faa02020f0
children dbd9bd36a390
files main/main.cpp
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/main.cpp	Wed Dec 04 18:46:09 2013 +0000
+++ b/main/main.cpp	Thu Dec 05 12:39:25 2013 +0000
@@ -250,6 +250,13 @@
 #endif
 #endif
 
+#ifdef Q_OS_MAC
+    if (QSysInfo::MacintoshVersion > QSysInfo::MV_10_8) {
+        // Fix for OS/X 10.9 font problem
+        QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");
+    }
+#endif
+
     SVApplication application(argc, argv);
 
     QStringList args = application.arguments();