We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert Word DOCX Document with Chinese Text to PDF using Java | Text Wrapping

I’ve known about the bug WORDSNET-16091.
But I can’t found resolved solution.
I use java-words V21.1.0.
Here is the bug: https://www.evget.com/article/2018/1/11/27644.html
My code is very simple:

Document doc = new Document(inFile); 
PdfSaveOptions options = new PdfSaveOptions();
            options.setSaveFormat(SaveFormat.PDF);
            options.setPrettyFormat(true);
//            options.setUseHighQualityRendering(true);
//            options.setTextCompression(PdfTextCompression.NONE);
            doc.save(fos, options);

Here is my bad example. Note the difference.
ABC.pdf (38.3 KB)
ABC.docx (30.8 KB)

I’ll be appreciated for your help.

@zhangxianli,

For the sake of correction, we have logged the following problem in our issue tracking system.

WORDSNET-22704: Period characters move to next lines causing additional vertical space between Numbered lists

We will further look into the details of this problem and will keep you updated here on the status of correction. We apologize for your inconvenience.

This bug correction is in development progress?

@zhangxianli,

WORDSNET-16091 is postponed; but we have just logged a separate issue to address the problem during rendering your particular document to PDF.

WORDSNET-22704 is pending for analysis and is the queue. We will inform you via this thread as soon as WORDSNET-22704 will be resolved.

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