Skip to content

Commit 9a9fcfc

Browse files
committedFeb 18, 2015
Fix font_size under windows
1 parent 4d744cf commit 9a9fcfc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

Diff for: ‎src/constants.h

+7-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
100100
/*
101101
GUI related things
102102
*/
103-
#define TTF_DEFAULT_FONT_SIZE (14)
103+
104+
// TODO: implement dpi-based scaling for windows and remove this hack
105+
#if defined(_WIN32)
106+
#define TTF_DEFAULT_FONT_SIZE (18)
107+
#else
108+
#define TTF_DEFAULT_FONT_SIZE (14)
109+
#endif
104110
#define DEFAULT_FONT_SIZE (10)
105111

106112
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.