diff -r 2d9d07ccb8ef -r 8bb07b0f50ca hedgewars/uConsts.pas --- a/hedgewars/uConsts.pas Sun Aug 06 18:24:39 2023 -0400 +++ b/hedgewars/uConsts.pas Thu Aug 10 20:48:54 2023 -0400 @@ -171,7 +171,7 @@ cVisibleWater : LongInt = 128; cTeamHealthWidth : LongInt = 128; - cTeamHealthHeight : LongInt = 19 * HDPIScaleFactor; + cTeamHealthHeight : LongInt = round(19 * HDPIScaleFactor); cGearContourThreshold : LongInt = 179; // if water opacity is higher than this, draw contour for some gears when in water cifRandomize = $00000001; @@ -221,8 +221,8 @@ cKbdMaxIndex = 65536;//need more room for the modifier keys // font stuff - cFontBorder = 2 * HDPIScaleFactor; - cFontPadding = 2 * HDPIScaleFactor; + cFontBorder = round(2 * HDPIScaleFactor); + cFontPadding = round(2 * HDPIScaleFactor); cDefaultBuildMaxDist = 256; // default max. building distance with girder/rubber cResurrectorDist = 100; // effect distance of resurrector