mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Fix font_size under windows
This commit is contained in:
@@ -100,7 +100,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
/*
|
/*
|
||||||
GUI related things
|
GUI related things
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// 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)
|
#define TTF_DEFAULT_FONT_SIZE (14)
|
||||||
|
#endif
|
||||||
#define DEFAULT_FONT_SIZE (10)
|
#define DEFAULT_FONT_SIZE (10)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user