From f5a42696d22db9e42d9b3e8ffbd287dc42d71a86 Mon Sep 17 00:00:00 2001 From: Don Bright Date: Tue, 3 Jan 2012 23:06:27 -0600 Subject: added likely names of monospace fonts for mac, linux, and win diff --git a/src/Preferences.cc b/src/Preferences.cc index c3d1918..6a540b6 100644 --- a/src/Preferences.cc +++ b/src/Preferences.cc @@ -49,8 +49,14 @@ Preferences::Preferences(QWidget *parent) : QMainWindow(parent) // Setup default settings this->defaultmap["3dview/colorscheme"] = this->colorSchemeChooser->currentItem()->text(); +#ifdef Q_WS_X11 this->defaultmap["editor/fontfamily"] = "Mono"; - this->defaultmap["editor/fontsize"] = 12; +#elif defined (Q_WS_WIN) + this->defaultmap["editor/fontfamily"] = "Console"; +#elif defined (Q_WS_MAC) + this->defaultmap["editor/fontfamily"] = "Monaco"; +#endif + this->defaultmap["editor/fontsize"] = 12; this->defaultmap["advanced/opencsg_show_warning"] = true; this->defaultmap["advanced/enable_opencsg_opengl1x"] = true; -- cgit v0.10.1