Convert to Htm- text was cut and misplaced

Hi there


I’ve got some problem when converting pdf files to html files, with 11.1.0
Some of the result’s text are cut at the edge and some are misplaced.

Here is my code:

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

The input file is in the attachement.

Please help me solve this problem, thanks :slight_smile:

Hi Craig,

Thanks for your inquiry. I have tested your scenario with shared document using Aspose.Pdf for Java 11.1.0 and managed to observe the reported missing text issue. For further investigation, I have logged an issue in our issue tracking system as PDFNEWJAVA-35495 and also linked your request to it. We will keep you updated via this thread regarding the issue status.

We are sorry for the inconvenience caused.

<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif”;mso-fareast-font-family:
Calibri;color:#333333;mso-ansi-language:EN-US;mso-fareast-language:EN-US;
mso-bidi-language:AR-SA”>Best Regards,

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


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