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

Free Support Forum - aspose.com

DOC/DOCX convert to PDF Conversion Issue

Dear Team,
i have issue in doc to pdf conversion
Aspose version(java version 1.8)
word19.8
pdf19.7
i attached sample file
issue.zip (3.4 MB)

issue screenshot
Untitled1.jpg (76.0 KB)
Untitled2.jpg (197.9 KB)
Untitled3.jpg (244.5 KB)
Untitled4.jpg (118.6 KB)

@rjnick

The shared PDF files are generated by Aspose.PDF for Java 19.6. We suggest you please try the latest version of Aspose.Words for Java 19.8 and Aspose.PDF for Java 19.8.

If you still face problem, please share the code example that you are using to reproduce this issue at our end. We will investigate the issue and provide you more information on it.

1 Like

dear @tahir.manzoor,
i update aspose word and pdf 19.8 but i face same issue,
my code,
String dataDir =" " ;
String outputPath =" ";
Document doc;
doc = new Document(dataDir);
com.aspose.words.PdfSaveOptions opts = new com.aspose.words.PdfSaveOptions();
opts.getDownsampleOptions().setDownsampleImages(false);
doc.save(outputPath, opts);

@rjnick

We are investigating your issue and will get back to you soon.

1 Like

Dear @tahir.manzoor,
Thank you for your response.

@rjnick

We have tested the scenario using the latest version of Aspose.Words for Java 19.8 and have not found the shared issue except for the document 2019-07-01T15-42-45_985Z_egi10KL166573J.docx.

For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-19192. You will be notified via this forum thread once this issue is resolved. We apologize for your inconvenience.

Please use the latest version of Aspose.Words for Java 19.8. 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

We have attached the output documents with this post for your kind reference.
2019-07-14T03-44-21_572Z_egi10HPZHP2DJ6.pdf (49.8 KB)
2019-07-01T00-29-19_575Z_egi1010JXR5297 (1).pdf (53.3 KB)
2019-07-03T01-15-40_123Z_egi1097KPRLZRQ.pdf (24.9 KB)
2019-07-03T01-15-40_126Z_egi10N4V4DRP7J.pdf (22.6 KB)

1 Like

Dear @tahir.manzoor,
Thank you for your response,
I checked with your reference output file, but still some files face same issue.

2019-07-03T01-15-40_123Z_egi1097KPRLZRQ
2019-07-03T01-15-40_126Z_egi10N4V4DRP7J
2019-07-01T00-29-19_575Z_egi1010JXR5297 (1)
Above the file still facing same issue,

issue Screen Shot
Untitled3.jpg (244.5 KB)
Untitled5.jpg (176.0 KB)
Untitled.jpg (156.0 KB)

@rjnick

We have logged the issues for shared documents in our issue tracking system. The issues’ IDs are as follow:

2019-07-01T00-29-19_575Z_egi1010JXR5297 (1).docx
Issue ID is WORDSNET-19196.

2019-07-03T01-15-40_123Z_egi1097KPRLZRQ.docx
Issue ID is WORDSNET-19197.

2019-07-03T01-15-40_126Z_egi10N4V4DRP7J.docx
Issue ID is WORDSNET-19198.

We apologize for your inconvenience.

1 Like

@tahir.manzoor
Can i please know issue WORDSNET-19197 & 19198 mentioned as closed. Will I able to know the updates made in that issue.?

@rjnick

These issues have been resolved. You will get the fix of these issues in the next version of Aspose.Words i.e. 19.11. Hopefully, it will be released at the start of next month (November 2019).

The issues you have found earlier (filed as WORDSNET-19197,WORDSNET-19198) have been fixed in this Aspose.Words for .NET 19.11 update and this Aspose.Words for Java 19.11 update.

The issues you have found earlier (filed as WORDSNET-19196) have been fixed in this Aspose.Words for Java 22.5 update also available on Maven.