1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

Fix font_size under windows

This commit is contained in:
BlockMen 2015-02-14 20:16:09 +01:00
parent 4d744cf87a
commit 9a9fcfc9a3

View File

@ -100,7 +100,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
/* /*
GUI related things 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) #define DEFAULT_FONT_SIZE (10)
#endif #endif