Windows Docker Container > Layout of rendered PDF is different when application is running on docker

After I resolved this issue, I am facing an issue where PDF report has different layout than the one which rendered from local.

Please find below snapshot where you will see difference:

enter image description here

Below is the commands inside Dockerfile:

# app image
FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019  AS BASE
COPY arial*.ttf c:/windows/fonts/
COPY . .
ENTRYPOINT BackgroundService.exe

Source: StackOverflow