From: BlockMen Date: Sat, 14 Feb 2015 19:16:09 +0000 (+0100) Subject: Fix font_size under windows X-Git-Tag: 0.4.13~590 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9a9fcfc9a302227d60c108d048d86b9d77cf24b1;p=oweals%2Fminetest.git Fix font_size under windows --- 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