hedgewars/uConsts.pas
changeset 11841 1d41f297b3d3
parent 11594 c453620cc6d6
child 11920 16ce211010cf
--- 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;