diff options
author | BlockMen <nmuelll@web.de> | 2015-02-14 20:16:09 +0100 |
---|---|---|
committer | BlockMen <nmuelll@web.de> | 2015-02-18 12:59:07 +0100 |
commit | 6f688c50ee12fa731cbd5e5846d4f1e74e8ad7b7 (patch) | |
tree | e9acc56cbfb4eebcaf11e2d9b780f8c5d0c8a700 /src | |
parent | bb603ff18ebc62fdd5799118eee318747f60744a (diff) | |
download | minetest-6f688c50ee12fa731cbd5e5846d4f1e74e8ad7b7.tar.gz minetest-6f688c50ee12fa731cbd5e5846d4f1e74e8ad7b7.tar.bz2 minetest-6f688c50ee12fa731cbd5e5846d4f1e74e8ad7b7.zip |
Fix font_size under windows
Diffstat (limited to 'src')
-rw-r--r-- | src/constants.h | 8 |
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 |