Aspose.Words For Java convert to PDF

Mac OS 10.14.4
Aspose.Words Java 19.3
The bottom information of doc is missing after convert to PDF, compared with the original file and WPS export pdf And the vertical line has shifted
转换问题.zip (382.5 KB)

@JamesGuo

We have tested the scenario using the latest version of Aspose.Words for Java 19.5 and have not found the shared issue. So, please use Aspose.Words for Java 19.5. We have attached the output PDF with this post for your kind reference.
19.5.pdf (103.2 KB)

use Aspose.Words for Java 19.5 still incorrect

gradle compile(group: ‘com.aspose’, name: ‘aspose-words’, version: ‘19.5’)

Mac OS 10.14.4
java version “1.8.0_181”
Java™ SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot™ 64-Bit Server VM (build 25.181-b13, mixed mode)

My Code:
PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.setPageCount(1);
document.save(os, saveOptions);
test.pdf (271.4 KB)

Another problem ,The font looks much larger than doc file,another_error.zip (144.1 KB)
export_from_wps.pdf (98.7 KB)

@JamesGuo

Please note that Aspose.Words requires TrueType fonts when rendering document to fixed-page formats (JPEG, PNG, PDF or XPS). You need to install fonts that are used in your document on the machine where you are converting documents to PDF. Please refer to the following articles:

How Aspose.Words Uses True Type Fonts
How to Receive Notification of Missing Fonts and Font Substitution during Rendering

1 Like