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

Free Support Forum - aspose.com

Text misplaced after converting to html

Hi there

I am using PDF 11.1.0 to convert pdf files to html files.

I found some text misplaced in the result.

Here is my code:

Document pdf = new Document(“custom/input/pdf/input.pdf”);

HtmlSaveOptions htmlSaveOps = new HtmlSaveOptions();
pdf.save(“custom/output/pdf/input.pdf.html”, htmlSaveOps);

I have this input pdf file in the attachment, please help me fix this problem, thanks :slight_smile:

Hi Craig,

Thanks for contacting support.

I have tested the scenario and I am able to
notice the same problem. For the sake of correction, I have logged this problem
as PDFNEWJAVA-35492 in our issue tracking system. We will
further look into the details of this problem and will keep you updated on the
status of correction. Please be patient and spare us little time. We are sorry
for this inconvenience.

The issues you have found earlier (filed as PDFNEWJAVA-35492) have been fixed in Aspose.Pdf for Java 11.5.0.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.