Word document with text-box and check boxes not converting properly to PDF

Hi Team,

I am from Natwest and we have recently bought the Total product license for .Net and Java for Aspose.

Word document with text, text boxes and checkboxes when converted to PDF file, the text is NOT aligning correctly with the check boxes and text-boxes in the pdf. This is happening when we do the converstion using Aspose using .Net Core application that runs in PaaS based Cloud environment (PCF cloud).
Attached the sample input word doc and output PDF generated for the same.

Kindly help us resolve the mis-alignment issue during the conversion.

Proforma.docx (88.2 KB)
SEC ACH_18052023__A HALL.pdf (75.7 KB)

Amsuman

@amsuman The problem might occur because the fonts used in your input document are not available on the machine where document is processed. As I can see in your output document DejaVu fonts are used instead Segoe UI and Times New Roman fonts used in the original document. 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/