Formatting error when saving MHTML as PDF

Hi,

I am encountering some formatting errors when converting an email to PDF. The MHTML generated by Aspose.Email displays properly in a browser, however, formatting errors are introduced when the MHTML data is converted to PDF by Aspose.Words. The formatting errors relate to the “Read More” buttons in the PDF file as the text is broken up over multiple lines, and the button corners are not rounded, like they are in the original document.

I have uploaded some test files and the source code to assist with analysis of these issues.

Thanks and regards,

Chris

Email Test.zip (857.1 KB)

@whitec,

We tested the scenario and have managed to reproduce the ‘read more text is broken up over multiple lines’ problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-18746. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

Regarding ‘button corners are not rounded’ problem, even MS Word 2019 produces the same result (see msw-2019.pdf (663.4 KB)) and Aspose.Words mimics this behavior. Try converting ‘Memory Stream.MHTML’ to PDF by using the ‘Save As’ option of MS Word.