DOCX to PDF conversion results in broken font

Product 14.5.0 Aspose Words for Java

Issue:
We are converting a DOCX with Times New Roman font to PDF but it’s resulting in a different font that has special characters in square boxes.

This isn’t a common issue, it’s happening on occasions. Usually it’s resulting with the font that the DOCX file has.

We also checked if there were any logs that says the font has changed but we were unable to find any.

@flowmytears Most likely, the problem occurs because Times New Roman font is not available in the environment where conversion is performed. In this case Aspose.Words substitutes font.
You can implement IWarningCallback to get notification when Aspose.Words performs font substitution.
If the problem still occurs, please attach your input and output documents here for testing. We will check the issue and provide you more information.