Aspose words changes font on linux containers

We are building an document conversion service from rtf and docx to PDF using aspose words in java. The default font of the source file is correctly carried over to the pdf generated on local windows laptop. When we deploy the app to kubernetes on linux containers the font by default sets to Dejavu Serif. How can we make sure it takes the default font from the source file in linux?

@ramachandra1988 The fonts used in the source document should be available in the environment where document rendering (conversion to Fixed Page formats like PDF) is performed. If font is not available Aspose.Words substitutes font.
In your case you should install the required fonts like described here. Or copy the required fonts into the folder and use it as fonts source as described here.