Can we copy fonts from host machine inside the container running on same machine ?

Aarushi Agarwal 1 Reputation point

The official docker image provided Microsoft - ltsc2019 only has a single font - lucon.ttf. We aim to have all the fonts in the base image which are present in a Windows Server 2019 machine. Is it legal to copy the fonts from the Server host machine inside the docker image?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,149 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 38,761 Reputation points

    Hi @Aarushi Agarwal

    You can proceed with the strategy outlined below, as suggested by other responses. Most crucial, properly register the font and font Link.

    Copy required fonts either from your local machine(C:\Windows\Fonts) or from container image(you can use volume binding while running the container to copy fonts)
    Register the copied fonts.
    Register the FontLink for the copied fonts.
    lucon.ttf which is present by default does not support asian languages

    Hope this answers your question :)
    Thank you.

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments