Skip to content

Instantly share code, notes, and snippets.

@kahrl
Created January 10, 2015 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kahrl/89e2e06932ece358152f to your computer and use it in GitHub Desktop.
Save kahrl/89e2e06932ece358152f to your computer and use it in GitHub Desktop.
diff --git a/src/constants.h b/src/constants.h
index 2da4a34..92f3c8e 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -97,9 +97,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
/*
* GUI related things
*/
-#define LEGACY_SCALING (2./3.)
-#define TTF_DEFAULT_FONT_SIZE (12.0 / LEGACY_SCALING)
-#define DEFAULT_FONT_SIZE (14)
+#define DEFAULT_FONT_SIZE (13)
#endif
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 4fb99cd..c87a72e 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -191,7 +191,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("fallback_font_shadow_alpha", "128");
std::stringstream fontsize;
- fontsize << TTF_DEFAULT_FONT_SIZE;
+ fontsize << DEFAULT_FONT_SIZE;
settings->setDefault("font_size", fontsize.str());
settings->setDefault("mono_font_size", fontsize.str());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment