Hello, I’m using Aspose.Words in a .net core 2.2 application. When I save my document (built with DocumentBuilder) with the following code:
var docStream = new MemoryStream();
Saving as a docx uses the correct font specified. However, when saveFormat is PDF, the generated document no longer uses the font selected (Baskerville). It is worth noting when I run this in my local dev environment on Windows, both documents contain the correct font, whereas on our dev/production servers running Linux, only the Word document is correct.
I don’t expect this is an issue with installing fonts on the Linux image, as it works correctly for the Word document.