Hi Support Team,
Thanks for your help, there is also 1 more issue that I need help on this.
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 Most likely the problem occurs because the fonts used in your input document are not available on the machine where document is processed. If Aspose.Words cannot find the font used in the document, the font is substituted. This might lead into fonts mismatch and document layout differences due to the different fonts metrics. You can implement IWarningCallback to get notifications when font substitution is performed.
Please see our documentation to lean where Aspose.Words looks for fonts:
https://docs.aspose.com/words/net/specifying-truetype-fonts-location/
Thanks for your help, Why footer gets break into 2 lines… instead of 1 . This is not as expected according to client.
@poonammishra Most likely the reason of the problem is the same - font substitution. Since different fonts have different metrics, font substitution might cause layout differences.
Unfortunately, it is difficult to tell for sure what the problem is without your real documents. If the problem still persist after installing the required fonts, please attach your input and output documents here for testing. We will check the issue and provide you more information.