Hi,
I am trying to convert pdf file to HTML using Aspose.PDF for Java 4.3.0. Does it support Embedded fonts ?
com.aspose.pdf.Document document = new com.aspose.pdf.Document(srcFileName);
document.save(outFileName, com.aspose.pdf.SaveFormat.Html);
When i execute above code snippet for the attached PDF , it throws below error.
java.lang.UnsupportedOperationException: Embedded fonts are unsupported
Embedded fonts are unsupported
at com.aspose.d.e.d.a(Unknown Source)
at com.aspose.d.e.b.a(Unknown Source)
at com.aspose.d.q.a(Unknown Source)
at com.aspose.b.a.i.a(Unknown Source)
at com.aspose.b.a.f.a(Unknown Source)
at com.aspose.b.a.a(Unknown Source)
at com.aspose.pdf.ADocument.save(Unknown Source)
at com.aspose.pdf.Document.save(Unknown Source)
at com.aspose.pdf.ADocument.save(Unknown Source)
at com.aspose.pdf.Document.save(Unknown Source)
Thanks & Regards,
Thirumurthy R
Hi Thirumurthy,
We are sorry for the inconvenience. While testing the scenario with Aspose.Pdf for Java 4.3.0, I've managed to reproduce this issue on my side and logged it in our bug tracking system as PDFNEWJAVA-33786 for further investigation and resolution. I've also linked your request to this issue and you will be notified via this thread as soon as it is resolved.
Please feel free to contact us for any further assistance.
Best Regards,
Hi Tilal,
Hi Rushikesh,
I am afraid the requested feature is
currently not supported but for the sake of implementation, I have logged this
requirement in our issue tracking system under New Features list as PDFNEWJAVA-33799.
We will further investigate this requirement in details and will keep you
updated on the status of a correction. <o:p></o:p>
We apologize for your inconvenience.
Hi Thirumurthy,
Hi Rushikesh,
com.aspose.pdf.Document document = new
com.aspose.pdf.Document(myDir+“input.pdf”);<o:p></o:p>
// create HtmlSaveOption with tested feature
HtmlSaveOptions newOptions = new HtmlSaveOptions();
newOptions.SpecialFolderForAllImages = myDir + "imageOutFolder";
document.save(myDir+"output.html", newOptions);
Please feel free to contact us for any further assistance.
Best Regards,