Pdf file generation is shrinked on Linux OS and hence footer is break down to 2 lines and there is font change

Hi Support Team,

I need help on pdf file generation using Aspose.Word in C# .NET
There is a pdf generation discrepancy between windows and Linux
1.There is some font issue… windows has different font as compared to Linux. Pl refer attachment
2.Footer issue , in Linux footer gets break down into 2 lines instead of 1. When you compare both attached files.
Kindly help me on this there is critical timelines on this and client is waiting for this to be Done.
I have feeling somehow pdf generated document is shrinked so footer is break down into second line.
pdfgeneratedonLinuxfontissue.jpg (70.6 KB)
pdfgeneratedonwindowsfont.jpg (58.3 KB)
pdfgeneratedonwindowsfooter.jpg (98.7 KB)
pdfgeneratedonLinuxfooter break issue.jpg (72.1 KB)

Let me know if you have any further question.

@poonammishra I have already answered this question in your another thread:
https://forum.aspose.com/t/docx-or-pdf-documentgeneration-do-not-work-if-a-file-has-image-file-or-content-or-placeholder-post-deployment-on-linux/263712/20

As I can see from screenshots, different fonts are used in the document. To get consistent result for document to PDF conversion in different environments the same set of fonts should be available for Aspose.Words. Please see our documentation for more information:
https://docs.aspose.com/words/net/manipulating-and-substitution-truetype-fonts/

Hi Support Team,

If i want to install Times New Roman and Ariel font on to Linux instance machine. How can i do that or achieve to recognize these 2 fonts. When I am trying to convert from .docx file to .pdf file using Aspose.Words dll version 23.4.

@poonammishra Please see our documentation to learn how install fonts on Linux:
https://docs.aspose.com/words/net/installing-truetype-fonts-on-linux/
Also, you can put the required fonts into the folder and use this folder as a fonts source:
https://docs.aspose.com/words/net/specifying-truetype-fonts-location/