When the JustificationMode.COMPRESS is set in aspose word java, the layout of the generated PDF is different from that of directly opening the file in Word

Attached are the corresponding DOCX file and the generated PDF file.
temp.pdf (29.9 KB)

temp.docx (16.7 KB)

##java code 
File file = new File(dst);
FileOutputStream os = new FileOutputStream(file);
Document doc = new Document(src);
doc.getCompatibilityOptions().setUseAltKinsokuLineBreakRules(false);
doc.setJustificationMode(JustificationMode.COMPRESS);
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.setUseHighQualityRendering(true);
doc.save(dst);
doc.save("temp.pdf",pdfSaveOptions);

the layout in word

@fmc2023
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-26167

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.