mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Implement DPI scaling for Windows (#9586)
This commit is contained in:
@@ -110,10 +110,5 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
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 (16)
|
||||
#endif
|
||||
#define DEFAULT_FONT_SIZE (10)
|
||||
|
Reference in New Issue
Block a user