summaryrefslogtreecommitdiff
path: root/src/openscad.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2013-12-15 21:32:06 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2013-12-15 21:32:06 (GMT)
commit3b3ef44f6636affef8138f4c8b7dec1333f50377 (patch)
tree977698cc6d2d56775f140967792ad637db03490f /src/openscad.cc
parent5271b345bc755f37e98d7f497f6686d34990fa5c (diff)
parentc7cea0082e427f3c53985845f05e8737873c8a25 (diff)
Merge branch 'master' of github.com:openscad/openscad into planar
Conflicts: src/CGAL_Nef_polyhedron.cc tests/CMakeLists.txt
Diffstat (limited to 'src/openscad.cc')
-rw-r--r--src/openscad.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/openscad.cc b/src/openscad.cc
index ece6818..ab84235 100644
--- a/src/openscad.cc
+++ b/src/openscad.cc
@@ -474,6 +474,13 @@ bool QtUseGUI()
int gui(vector<string> &inputFiles, const fs::path &original_path, 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
QApplication app(argc, argv, true); //useGUI);
#ifdef Q_WS_MAC
app.installEventFilter(new EventFilter(&app));
contact: Jan Huwald // Impressum