We have the Aspose License that we are using for a long time. (Company Name: Everteam)
We are having troubles converting an HTML to PDF on Linux using the following code:
//Convert HTML file to PDF
String basePath = “pdftest”;
HtmlLoadOptions htmloptions = new HtmlLoadOptions(basePath);
Document doc = new Document(htmlFile.getAbsolutePath(),htmloptions);
File resultingPDFFile = new File(“MyFile”);
The problem is the following:
- The PDF is generated correctly on windows but not on Linux.
You can find attached the environment specifications:
JFiles.zip (191.2 KB)
E.png and Linux_OS.png.
The aspose library we are using is: aspose-pdf-18.9.1.jar
Also attached you can find the two PDF generated on Linux and windows so you can check the difference between them.
Thanks in advance,