Free Support Forum -

Convert PDF is messing with content - Overlapping text

When the pdf is converted suing aspose, it is overlapping text inside the pdf. How to correct this. Earlier this was occurring in Linux only and when fonts were installed it was corrected for other pdf’s. Now again we have encountered similar issue for other pdf’s both in wondows and linux as well. How to fix this?


image.png (13.3 KB)


image.png (13.7 KB)


Would you please share the sample PDF document and sample code snippet with us. We will test the scenario in our environment and address it accordingly.

Sample code used is
com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document(sourceFile);

Sourcefile being the pdf.
TestFIle.pdf (47.3 KB)

Any update on this as our Customer is waiting on this.


Since, you did not mention in which format you are converting the PDF. We tested the scenario while converting your PDF into PNG using Aspose.PDF for Java 21.2 and did not notice any issue. Please check the attached output image for your kind reference.

Converted_Image_1.png (126.2 KB)

Could you please try using the latest version of the API and in case issue still occurs, please share some more details with us so that we can again try to replicate the issue.

With latest version of pdf - it is working as expected. Thank you. Earlier we were using 20.6 version.


It is good to know that your issue has been resolved. Please keep using our API and let us know in case you face any issues.

Asad Ali, we got a new license in October 2020. When i am trying to use this latest jar, it is throwing evaluation error. Do you know the reason?