I am actually using this to convert a web page (that has the attached SVG images) to PDF. With the new version (10.4.0), I am getting the following error when trying to convert the file (using HtmlLoadOptions) -
PFA the html i was trying to convert to HTML. You can see that the html file has an svg chart. If I extract that to a separate svg file and convert that to PDF using SvgLoadOptions it works fine. But when i try to convert the attached html to PDF it is throwing an error.
Thanks for sharing the sample HTML document. I have tested your scenario with shared document using Aspose.Pdf for .NET 10.4.0 and managed to observe the reported issue. For further investigation, I have logged an issue in our issue tracking system as PDFNEWNET-38728 and also linked your request to it. We will keep you updated via this thread regarding the issue status.
Please feel free to contact us for any further assistance.
Could you also take a look at the attached SVG and let me know why is the PDF file that is getting generated has some random lines in it?
Any ETA on this issue? The previous version of Aspose.pdf seems to handle this properly. The issue seems to be specific to the newer version (10.4.0)
Hi Sampath,Thanks for your inquiry. I am afraid your issue are still not resolved as we have recently noticed the reported issue and it is still pending for investigation due to other issues, already under investigation and resolution. We will notify you as soon as we made some progress towards issue resolution.Moreover, we have logged HTML to PDF issue as regression issue in system, because it was working in 10.3.0 but 10.4.0. And it will be treated with high priority.We are sorry for the inconvenience caused.Best Regards,
FYI - the issue seems to be with any empty style attributes (eg.,
style=""). For now, I am just replacing this with an empty string
before using aspose to convert the html string to PDF. Hope this helps
with your troubleshooting/fixing the issue.
Thanks for sharing your findings. We have passed it to our product team, they will consider it while investigating the issue. We will notify you as soon as we made some significant progress towards issue resolution.
Thanks for your patience and cooperation.
The issues you have found earlier (filed as PDFNEWNET-38728) have been fixed in Aspose.Pdf for .NET 10.8.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as PDFNET-38732) have been fixed in Aspose.PDF for .NET 19.12.