I'm trying to install a font in a docker windows container based on 4.8-windowsservercore-ltsc2019 image. I found some solutions but none of them worked for me.
I created a github project that reproduces my problem.
https://github.com/AndySchmitt/docker-font-windows-ltsc2019
This is a simple C# Api project that uses wkhtmltopdf to create a PDF file. When you run without docker, it generates a pdf file with Arial font. When you run within docker, it generates the same pdf, but with another font.
In this windows container, Microsoft deleted all fonts from the fonts folder, and I'm having problem installing new fonts to this image.
My question is: How can I generate the pdf using Arial font inside docker container? Or, how can I install Arial font in this windows image and make wkhtmltopdf use this recently intalled font?