summaryrefslogtreecommitdiff
path: root/src/openscad.cc
diff options
context:
space:
mode:
authorBrody <brody@ieee.org>2013-12-11 05:46:04 (GMT)
committerBrody <brody@ieee.org>2013-12-11 05:46:04 (GMT)
commitef92a395a8498230921fe3d5edb694c2388fdbb9 (patch)
tree1d51892f9cf9b61fdf01eac2f8e95a6e32c54a1d /src/openscad.cc
parentd7d5bea7363703c76b9787598304bfc838e893ee (diff)
parent50fb5bb135f62ed56230d8b8afd691284616b4f6 (diff)
Merge pull request #1 from openscad/brodykenrick-master
Brodykenrick master
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