
I was able to get it to work in ltsc2019 by installing it like suggested before: COPY calibri.ttf c:/windows/fonts/calibri.TTF I will keep researching and monitor on the product team, if I get any progress, I will get back to you as soon as possible. However, please understand, due to permission limit, I couldn’t guarantee I can get feedback from Product Team.

Based on the situation, I have sent emails to windows server 2019 product team to consult this issue. UPDATE: Recieved a reply from MS support, looks like there is probably no resolution at this time.Īfter a few days research, I haven’t got much progress about why the only font in /servercore:ltsc2019 based image is lucon.ttf, and seems there’s no published method to add additional fonts to windows server core 2019 image. When run it returns the following exception: System.InvalidOperationException: Cannot read the file for font: Arial


The font itself installs fine but the generating program fails to use it. We have also attempted the install fonts method outlined in this doc from Microsoft with no change. Launching the un-modified SDK image interactively and browsing to C:\Windows\Fonts only shows the lucon.ttf font present and nothing else. Per this Microsoft blog (under the Container Improvements section), the 2019ltsc release stripped out all fonts except Arial, and it apparently prevents installing additional fonts. The pdf generating app is (attempting) to use the Arial font for these reports, but it is not being found in the Windows font directory.

This image is based on the 2019ltsc release, which is where the issue comes in. We have an app (GrapeCity ActiveReports) that generates pdf reports running inside a container built on the following image: microsoft/dotnet-framework:4.7.2-sdk
