diff -r 8f7e28428f3e -r 1d41f297b3d3 hedgewars/uConsts.pas --- a/hedgewars/uConsts.pas Tue Jun 21 22:03:09 2016 +0200 +++ b/hedgewars/uConsts.pas Tue Jun 21 18:02:46 2016 -0400 @@ -26,6 +26,7 @@ {$INCLUDE "config.inc"} const + HDPIScaleFactor = 1; HaltNoError = 0; HaltUsageError = 1; HaltFatalError = 2; @@ -180,7 +181,8 @@ cKeyMaxIndex = 1600; cKbdMaxIndex = 65536;//need more room for the modifier keys - cFontBorder = 2; + cFontBorder = 2 * HDPIScaleFactor; + cFontPadding = 2 * HDPIScaleFactor; cDefaultBuildMaxDist = 256;