We created the MS word templates in windows machine and using the basic Font like Arial. We have deployed our application in Linux ubuntu docker container. But output of generated document is not containing the Arial font whereas coming some other font.
We tried below approaches to solve this but it would not work.
- Embed the Font itself inside the MS word templates, it works but size of document increased dramatically from 54kb to 4985kb and generation time increment many folds so this approach would be feasible for our case.
- Tried to install fonts in Linux container but due to compatibility issues, difficult to install windows font to Linux container.
Using the aspose.word(.net) ver 21.7 and our application is .Net core 3.1
Please suggest on this issue.