aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/constants.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/constants.h b/src/constants.h
index 9a7bb9d86..53a2608bd 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -100,7 +100,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
/*
GUI related things
*/
-#define TTF_DEFAULT_FONT_SIZE (14)
+
+// TODO: implement dpi-based scaling for windows and remove this hack
+#if defined(_WIN32)
+ #define TTF_DEFAULT_FONT_SIZE (18)
+#else
+ #define TTF_DEFAULT_FONT_SIZE (14)
+#endif
#define DEFAULT_FONT_SIZE (10)
#endif