Skip to content
Snippets Groups Projects
Commit 9a9fcfc9 authored by BlockMen's avatar BlockMen
Browse files

Fix font_size under windows

parent 4d744cf8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment