Symbol/character move to next line of PDF file

Hi Team,

Could you please help to check that symbol is coming in next line in pdf. When you will come the pdf and word file you will see the difference.
I have attached screenshot and files for reference.

Code snippet to convert word into pdf:

Document document = new Document(wordFile.getAbsolutePath());
document.save(outputPdfFilePath);
String rightsWatchMark = document.getCustomDocumentProperties().get("RightsWATCHMark").toString();
String encodedRightsWatchMark = Base64.getEncoder().encodeToString(rightsWatchMark.getBytes());
com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document(outputPdfFilePath);
DocumentInfo documentProperty = pdfDocument.getInfo();
documentProperty.set_Item("RightsWATCHMark", encodedRightsWatchMark);
pdfDocument.save();

Please find the attachment
sample_issue_23_06_2025.zip (1.0 MB)

@forasposeissues
Do I understand correctly that you use Aspose Words for Java to convert document ?

Yes, We use Aspose Words for Java to convert document.

@forasposeissues
In this case I’ll reassign your issue to according forum branch
My colleagues will help you shortly

@forasposeissues Could you please check it with the latest Aspose.Words 25.6 version. Here is my output:

output.pdf (492.7 KB)

Also, I see that you are converting the document twice. As far as I understand, you are using Aspose.Words for the first conversion and then using com.aspose.pdf to make the changes. Please check on which side you are having the problem.