Text of Content Control is Rendered incorrectly in output PDF using Java

Hi,

We are using Document.save() API to convert a WORD document into PDF document. However, for the attached word document, the PDF document generated by Aspose looks very different from the WORD document.

We are using below code:

Document doc=new Document("document.docx");
doc.save("Aspose_document.pdf");

Attached following files:

  1. document.docx: The WORD document
  2. Aspose_document.pdf: The PDF document generated using Aspose Document.save() API.
  3. MS_updatedDocument.pdf: The PDF document generated using Microsoft Word saveAsPdf option.

The “Aspose_document.pdf” and “MS_updatedDocument.pdf” look very different.

Please have a look into this issue.

Please find the attached documents ASPOSE DOCS.zip (1.7 MB)
for your reference.
Thanks
Manisha

Please refer the files attached with this post for your reference. Kindly ignore the files attached above.ASPOSE DOCS.zip (2.0 MB)

@oraspose

We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-21637. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-21637) have been fixed in this Aspose.Words for Java 23.10 update.