Skip to content

Commit

Permalink
Fix font_size under windows
Browse files Browse the repository at this point in the history
  • Loading branch information
BlockMen committed Feb 18, 2015
1 parent 4d744cf commit 9a9fcfc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/constants.h
Expand Up @@ -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
Expand Down

0 comments on commit 9a9fcfc

Please sign in to comment.