We are using Aspose for creating PDF and Word document in the .NET solution. Our .NET core solution is built using Visual studio on the Windows machine. There is no issue in downloading PDF or Word from the local machine. However, if the same is deployed in the linux based container, we are getting styling issues such as incorrect font in both PDF and Word downloads and even some of the images are missing when exported to Word. There is no specific error message while creating PDF or Word. However, the below warning message is found in the container whenever the Word download is attempted.
“maximum size for region is 262144 bytes”.
Tried few options already suggested in the forum such as SentFontFolder and also copying the Font folder to the right path. Also tried setting the ImageType as png as suggested in one of the forum. None of the solutions suggested so far has worked.
Request your support to resolve it at the earliest.