Free Support Forum - groupdocs.com

PDF to Doc and Doc to PDF conversion

Hi,

We’re trying to convert pdf-doc and then back to doc-pdf. The first conversion to doc is okay, but once doc is converted back to pdf, only squares with question marks appear.

Language: Japanese
Programming Language: Java
Version: 19.10.3

Thanks!


This Topic is created by atirtahir3 using Email to Topic tool.

@yasah

Can you please share the actual PDF file? Secondly, we’d recommend you to migrate to API version 20.10. Please have a look at these migration notes. Let us know if you face same issue with latest API release.

Hi @atirtahir3 ,

Kindly check this file below. Thanks!
Jap1.pdf (56.9 KB)

@yasah

Please have a look at these output documents.zip (2.9 MB). We converted the provided PDF to DOC and then DOC to PDF. Let us know if these outputs have any issue. We used API version 20.6.

Hi @Atir_Tahir,

We’re now using 20.10.2 but still, for docx to pdf part of japanese documents, they are still converted to squares only. Already tried with default fonts in loadOptions and font directory in convertSettings but error still persists.

Is there other settings we need to set in order to achieve the correct conversion?

Thanks again!

@yasah

Is this issue fixed for PDF to DOCX conversion?

@Atir_Tahir,

For pdf to docx, it is working fine.

@yasah

Please have a look at these output.zip (2.9 MB) files. We don’t face any issue in this back-and-forth conversion.
However, please share following details and we’ll further investigation this scenario:

  • Sample code that you wrote for the conversion process
  • List of installed fonts on your machine
  • OS details
  • Output file (problematic) that you are getting

@Atir_Tahir,

Sample code: SampleTotal.zip (2.1 KB)
Fonts: fonts.zip (6.0 KB)
OS: Ubuntu 20.04.1 LTS
Output file: Sample.pdf (99.4 KB)

Kindly note also that we are running conversion together with editor and viewer.

Thanks

1 Like

@yasah

We’re investigating this scenario with ID CONVERSIONJAVA-1153. You’ll be notified as there’s any update.

1 Like

The issues you have found earlier (filed as CONVERSIONJAVA-1153) have been fixed in this update. This message was posted using Bugs notification tool by Atir_Tahir