diff -r 772a43d88e6b -r 2146cb7be36f hedgewars/uVariables.pas --- a/hedgewars/uVariables.pas Fri Mar 10 11:42:25 2023 +0100 +++ b/hedgewars/uVariables.pas Tue Aug 22 08:35:46 2023 +0200 @@ -357,36 +357,36 @@ const FontzInit: array[THWFont] of THHFont = ( (Handle: nil; - Height: 12*HDPIScaleFactor; + Height: round(12*HDPIScaleFactor); style: TTF_STYLE_NORMAL; Name: 'DejaVuSans-Bold.ttf'), (Handle: nil; - Height: 24*HDPIScaleFactor; + Height: round(24*HDPIScaleFactor); style: TTF_STYLE_NORMAL; Name: 'DejaVuSans-Bold.ttf'), (Handle: nil; - Height: 10*HDPIScaleFactor; + Height: round(10*HDPIScaleFactor); style: TTF_STYLE_NORMAL; Name: 'DejaVuSans-Bold.ttf'), (Handle: nil; // fntChat - Height: 12*HDPIScaleFactor; + Height: round(12*HDPIScaleFactor); style: TTF_STYLE_NORMAL; Name: 'DejaVuSans-Bold.ttf') {$IFNDEF MOBILE}, // remove chinese fonts for now (Handle: nil; - Height: 12*HDPIScaleFactor; + Height: round(12*HDPIScaleFactor); style: TTF_STYLE_NORMAL; Name: 'wqy-zenhei.ttc'), (Handle: nil; - Height: 24*HDPIScaleFactor; + Height: round(24*HDPIScaleFactor); style: TTF_STYLE_NORMAL; Name: 'wqy-zenhei.ttc'), (Handle: nil; - Height: 10*HDPIScaleFactor; + Height: round(10*HDPIScaleFactor); style: TTF_STYLE_NORMAL; Name: 'wqy-zenhei.ttc'), (Handle: nil; // CJKfntChat - Height: 12*HDPIScaleFactor; + Height: round(12*HDPIScaleFactor); style: TTF_STYLE_NORMAL; Name: 'wqy-zenhei.ttc') {$ENDIF}